16 Feb 2009 12:29 AM #11
Hi, durlabh , i can do this for 'local' data, but failed to setup "remote" one.
I have setup the key pair of "id" and "value", but it keep showing the 'id' in the grid
do you have any examples for remote mode? Thanks.
16 Feb 2009 1:09 AM #12
Hi, team, i have resolved the remote display issue, below is the code, fyi.
Define a ext.data.store and load data from a proxy first.
then add the rederer below:
var index = listStore.find("ID",value);
var typeName = listStore.getAt(index).get("Name");
16 Feb 2009 9:16 PM #13
31 May 2009 2:21 PM #14
6 Jun 2009 10:47 AM #15
I have problem with durlabh code - mode:remote, and if i do search in combo and later do
Any solution for this?
8 Jul 2009 4:31 AM #16
20 Oct 2009 1:20 AM #17
if anyone need this comborenderer for extjs 3
var field = combo.editor.field;
if(combo.editor) var field = combo.editor.field; else var field = combo;
9 Mar 2010 12:37 PM #18
I've been using a variation of this renderer for a while. Is it correct to assume that we still need to us this in Ext JS version 3?
And has anyone else noticed some odd behavior if you type in a value in the combo rather than select a value with the mouse? If you start typing something, it'll show matches and look like it's going to autofill, but if you hit Tab it'll just blank out the field and not save your new value. The standard examples of the combo in the grid field don't behave this way, so I assume it's something to do with the custom renderer but I haven't been able to solve it. It makes it impossible to enter data exclusively with the keyboard... you have to use the mouse to pick things from the combo.
30 Sep 2010 6:54 AM #19
30 Sep 2010 6:56 AM #20