Categories | Question details Back To List | ||
DropDown Filter and splitAt() Issues with attachHeader() method I am trying to attach a header that has <div> tags that contain dropdown boxes that filter a column. For some reason when I use with the splitAt() function, anything within the split does render, but after the split it does. Here is some example code: Grid = new dhtmlXGridObject('gridbox'); Grid.setImagePath("images/dhtmlXGrid_1.3/"); Grid.setHeader("Text,Text,Project Number,#cspan,#cspan,..."); Grid.setInitWidths("65,80,24,..."); Grid.setColAlign("center,center,center,...r"); Grid.setColTypes("ro,ed,img,ed,ed,..."); Grid.setColSorting("str,str,na,str,..."); Grid.init(); Grid.splitAt(8); ... projectSummaryGrid.loadXMLString(XML, function(){ projectSummaryGrid.attachHeader("<div id='project_flt'></div>,#cspan,#cspan,..."); ... some js code to create and populate the dropdowns in the <div> tags that were placed with the attachHeader() method. The drop downs are rendered and populated for columns 9 and higher, but they do not show up for any columns under 8 or before the split. ... Is there something wrong with the order of my code? Thanks for the help. Answer posted by Support on Feb 06, 2008 03:15 Built-in filtering doesn't support split mode. We plan to add support of split mode as part of next version but for now filtering and split are mutual exclusive |