PDA

View Full Version : ComboBox ain't loading all the information I need.



OddOrange
6 Aug 2017, 1:31 PM
Hey. :)
My combobox is working well-enough if I limit the amount of items to 60 - 70, the problem is... I need to load 1300 items.
I'm retrieving all of that data from a JSON file.

This is the code that I've got so far for my combo:


{
xtype : 'combo',
store : dsCliente,
width: 650,
valueField : 'CODIGO',
displayField : 'NOMBRE',
name : 'cliente',
mode : 'remote',
triggerAction : 'all',
id : 'clienteCombo',
typeAhead : true,
lazyRender : true,
disabled : true, //A checkbox activates this combobox.
margins:{top: 5, right: 5, bottom: 5,left: 5},
}


Can anybody give me a hand? Thanks in advance. :)

Gary Schlosberg
9 Aug 2017, 6:35 AM
With which browser are you seeing this? What does your JSON look like?