I am trying to attach a header that has
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(",#cspan,#cspan,…");
…
some js code to create and populate the dropdowns in the
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(",#cspan,#cspan,…");
…
some js code to create and populate the dropdowns in the
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.
…
Is there something wrong with the order of my code?
Thanks for the help.