Categories | Question details Back To List | ||
dhtmlxcombo drop down values Hi, Combo drop downs are not coming up correctly. They are displayed on the top of page. I am using a action class in java to handle the requests for my dhtmlxcombo. e.g: partNumberCombo=new dhtmlXCombo("partNumberCombo","",200); partNumberCombo.enableFilteringMode(true,"/goPartNumberHandler.do",true,true); I have set the content type to text/xml in my action class. I am using response writer object print method to print the values in xml. e.g: - PrintWriter writer = response.getWriter(); writer.print("<option value='1'>1"); writer.print("</option>"); Can you please let me know if I am going wrong somewhere. Answer posted by Stanislav on Jan 04, 2008 07:41 There are two possible reasons a) There is rare use-case, which occurs only in case of server side filtering, where first opening of combo occurs in incorrect place ( latest version - 1.2 - can be downloaded from dhtmlx.com, or you can take patched 1.1 version from next thread http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&q=1339&ssr=yes&s=combo ) b) The combo positioned in some container which already has complex positioning, so result position of list can't be calculated correctly. This heavily based on used layout, so it hard to propose any solution. You can check in dhtmlxcombo.js function _positList , which sets position of combo, and replace automatic calculation with some hardcoded values. |