-
8 Feb 2011 2:16 AM #1
Problem with Ext.Direct and Combo
Problem with Ext.Direct and Combo
Please help!
I created combo
create MyDesktop.ObjectsStoreCode:{ xtype: 'combo', listEmptyText: 'Выберите объект', store: MyDesktop.ObjectsStore, valueField:'name', forceSelection:true, pageSize:5, autoShow: true, displayField: 'name', fieldLabel: 'Объект' },
Request to server send ok and result is ok. Json:Code:MyDesktop.ObjectsStore = new Ext.data.DirectStore({ api: { read: API_Objects.load, }, storeId: 'ObjectsStore', autoLoad: true, triggerAction: 'all', typeAhead: true, });
But combo not show data!Code:{"result":[{"id":1,"name":"dsafdsgfdsg"},{"id":2,"name":"ddddddddddd"},{"id":3,"name":"cccccccccccc"}],"id":"2","error":null}
-----------------------------------
Problem resolved. )))
add
minChars: 0,
in combo.
Similar Threads
-
Ext.Direct with Combo Box and form panel api load.
By paulr88 in forum Ext.DirectReplies: 1Last Post: 15 Dec 2010, 4:06 PM -
Simple Ext.Direct-Combobox plugin --- with Ext.Direct.Store for reuse
By xp743 in forum Ext 3.x: User Extensions and PluginsReplies: 1Last Post: 26 Jul 2010, 11:56 AM -
Ext.Direct client side examples with baseParams (Remote combo & treeloader)
By milanz in forum Ext.DirectReplies: 0Last Post: 30 Jun 2010, 10:22 AM -
Ext.direct combo box
By isit.gd in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 2 Jun 2010, 1:31 AM -
Ext.Direct Combo
By boylesw in forum Ext.DirectReplies: 1Last Post: 5 Jun 2009, 10:15 AM


Reply With Quote