Categories | Question details Back To List | ||
Parent for grid overlay elements I am using the grid control with Yahoo's YUI library, which provides dynamic modal dialogs. When I place the grid in a dialog the combobox eXcell would no longer appear. After a great deal of trial and error I discovered that the combobox (eXcell_co) was being drawn behind the dialog. I played around with the z-order with no success. Finally I determined the problem is the eXcell_co element is being attached to the document body, and is not a child of the grid itself. I modified dhtmlxgridcell.js so that the combobox object is a child of the table's obj, and modified the routines that position the element to be relative to the new parent. I suggest making a similar modification to the official sources, to increase the flexibility of your controls for use in more advanced projects. I can provide my code if you like. Answer posted by Support on May 28, 2008 06:47 The such modification has one side effect - the combo will be limited to borders of grid, so if you have a big list, or open it on last line - it will be only partially visible. I'm not sure about replacing existing logic, but it possible to create and maintain it as a separate excell >>I can provide my code if you like. It would be interesting to check ( please send to support@dhtmlx.com ) |