jay@moduscreate.com
3 Oct 2007, 2:16 PM
I don't see anything wrong. maybe i've been doing this too much today? heh.
i get the following msg:
this.tr has no properties
[Break on this error] Ext.Toolbar=function(A){if(A instanceof Array){A={buttons:A}}Ext.Toolbar.supercl...
paging = new Ext.PagingToolbar({
store: ds,
pageSize: dsLimit,
displayInfo: true,
autoWidth: true,
displayMsg: 'Displaying events {0} - {1} of {2}',
emptyMsg: "No events to display"
});
pagingCombo = new Ext.form.ComboBox({
store: new Ext.data.SimpleStore ({
fields: ['num'],
data : [ [ 5 ], [ 10 ], [ 20 ], [ 50 ], [ 100 ], [ 200 ], [ 500 ], [ 1000 ] ]
}),
displayField:'num',
typeAhead: false,
mode: 'local',
triggerAction: 'all',
emptyText:'# Rows',
selectOnFocus:true,
allowBlank: false,
width: 65,
listWidth: 65,
vtype: 'port',
resizable:false
});
pagingCombo.on('select', function () {
setGridLimit(record.data.num);
});
//paging.addSeparator();
paging.addField(pagingCombo); //<-- or paging.add
i get the following msg:
this.tr has no properties
[Break on this error] Ext.Toolbar=function(A){if(A instanceof Array){A={buttons:A}}Ext.Toolbar.supercl...
paging = new Ext.PagingToolbar({
store: ds,
pageSize: dsLimit,
displayInfo: true,
autoWidth: true,
displayMsg: 'Displaying events {0} - {1} of {2}',
emptyMsg: "No events to display"
});
pagingCombo = new Ext.form.ComboBox({
store: new Ext.data.SimpleStore ({
fields: ['num'],
data : [ [ 5 ], [ 10 ], [ 20 ], [ 50 ], [ 100 ], [ 200 ], [ 500 ], [ 1000 ] ]
}),
displayField:'num',
typeAhead: false,
mode: 'local',
triggerAction: 'all',
emptyText:'# Rows',
selectOnFocus:true,
allowBlank: false,
width: 65,
listWidth: 65,
vtype: 'port',
resizable:false
});
pagingCombo.on('select', function () {
setGridLimit(record.data.num);
});
//paging.addSeparator();
paging.addField(pagingCombo); //<-- or paging.add