Categories | Question details Back To List | |||
what to stop loading entire list when textbox is empty I m using dcombo,there about 5000 option elements , so when text box clear/empty it loads entire list which is slower the browser since it has to render all elements So i want to stop loading entire list when textbox is empty,just should autocomplete when something is type. This is solve the browser slower and hanging issue. regards nixon Answer posted by Support on Nov 11, 2008 05:56 In autocomplete mode, combo will not send request to server side if it has not any text inside. Please provide a code snippet which you are using for combo initialization Answer posted on Nov 11, 2008 06:09
channelNames is array of [values,text and css] , the lenght of array lenght is more 5000 is passed to dhtmlXCombo below is dhtmlXCombo initialization code var z=new dhtmlXCombo("combo_zone3","alfa3",300);
Answer posted by Support on Nov 11, 2008 06:15 There is no way to improve situation if you are loading all list from client side code. Combo can work in auto-load mode with server side script , so it loads and shows only necessary data instead of showing all at once. |