PDA

View Full Version : Problem with ComboBox and Paging



bkraut
12 Mar 2014, 2:09 PM
Hi,

I'm using EditableGrid and ComboColumn. ComboColumn has editor. This editor combo has records of Subjects which means there can be several hundred records. That's why I used paging for the combobox.



Ext.grid.ComboColumn = Ext.extend(Ext.grid.Column, {
constructor: function(cfg){
Ext.grid.ComboColumn.superclass.constructor.call(this, cfg);
this.renderer = Ext.ux.ComboRenderer(this.editor.field ? this.editor.field : this.editor);
}
});


Now when the grid is loaded just first Subjects are displayed as the Combo store loads just first 25 records. How could I modify my system, that all the system would load the values for which there is no records in combo store.

To load all the Subjects is impossible as it takes too much time.

The same will happen if I use a form where one field is combobox. The record is loaded in the form so the uuid will be set to combo, but there is just first 25 records in the combo store.