svenna
4 Aug 2007, 9:17 AM
Hello,
I'm creating an organization database web frontend. I'm used YUI and now switching more and more to Ext.
In the app I have this grid.. When the user dbl clicks a row a form pops up to let him change the values. One of the fields in the "membership" module is a lookup field called personid.
The person table is about 5000+ rows, so the browser is not really happy about generating 5000 select elements ;)
Changing the combobox to remote speeds the loading time up. But, to my problem on popup I set the value to "1", but untill the user has clicked the drop down icon the dataset is not loaded, and so the display value of field is also "1" instead of "Person Name 1".
Is there a standard/best practice method of fetching this 1-one value from the server or do I have to overwrite the data property of the simpleStore object onpopup? (I can't do it on create, since the form is generated on page load and not on grid dbl click)
I'm creating an organization database web frontend. I'm used YUI and now switching more and more to Ext.
In the app I have this grid.. When the user dbl clicks a row a form pops up to let him change the values. One of the fields in the "membership" module is a lookup field called personid.
The person table is about 5000+ rows, so the browser is not really happy about generating 5000 select elements ;)
Changing the combobox to remote speeds the loading time up. But, to my problem on popup I set the value to "1", but untill the user has clicked the drop down icon the dataset is not loaded, and so the display value of field is also "1" instead of "Person Name 1".
Is there a standard/best practice method of fetching this 1-one value from the server or do I have to overwrite the data property of the simpleStore object onpopup? (I can't do it on create, since the form is generated on page load and not on grid dbl click)