Categories | Question details Back To List | ||||||||
dhtmlx Combobox optionlist positioning The position of list must be exactly next to the input on opening moment , if you scroll container without closing combo list - it may desync. There is no straight solution. You can a) add onscroll handler to scrollable div and call combo._positList(); from it b) you can change the way how combo list attached line 475 document.body.insertBefore(this.DOMlist,document.body.firstChild); can be changed to code , which append list element to your scrollable container instead of document.body I have tried several variations on line 475. Everything I try breaks the functionality of the drop down all together. Has anyone successfully altered the combobox to "float" with the input box on a scrollable div? Answer posted by Support on Oct 02, 2008 02:08 Please check attached sample. Modified line marked in code with /*update*/ mark Attachments (1)
|