problem in SetHeaderSpan
below is my code, and its not working for headerspan.
its not setting top header for 2 columnls.Please help me out.
-----------------------------------------------------------------
linkedInvestmentObj.setFixedLeft(0);
linkedInvestmentObj.defineHeaderProperty("span", 1);
linkedInvestmentObj.setHeaderTemplate(new AW.Grid.HeaderNew);
linkedInvestmentObj.setHeaderIndices([2,0,1]);
linkedInvestmentObj.setHeaderCount(3);
setModel(myData, linkedInvestmentObj);
updateSelectorWidth(linkedInvestmentObj);
linkedInvestmentObj.setHeaderText(myTopColumn, 0); /*set the Top headers*/
linkedInvestmentObj.setHeaderText(myColumns.split(","),0); /*set the headers*/
enableFiltering(linkedInvestmentObj,2,0,1);
linkedInvestmentObj.setColumnCount(2); // set the column count
linkedInvestmentObj.setSelectionMode("single-row");
linkedInvestmentObj.setCellFormat([string, string]);
setMultiSpanWidth(linkedInvestmentObj);
linkedInvestmentObj.setHeaderSpan(2,1,2);//col-1 spans across 2 columns
linkedInvestmentObj.setHeaderSpan(0,2,2);//col-2 span=0 (hidden)
linkedInvestmentObj.refresh(); // refresh the grid
-----------------------------------------------------------------------
please tell me wats wrong in this ASAP.
-thanks
its not setting top header for 2 columnls.Please help me out.
-----------------------------------------------------------------
linkedInvestmentObj.setFixedLeft(0);
linkedInvestmentObj.defineHeaderProperty("span", 1);
linkedInvestmentObj.setHeaderTemplate(new AW.Grid.HeaderNew);
linkedInvestmentObj.setHeaderIndices([2,0,1]);
linkedInvestmentObj.setHeaderCount(3);
setModel(myData, linkedInvestmentObj);
updateSelectorWidth(linkedInvestmentObj);
linkedInvestmentObj.setHeaderText(myTopColumn, 0); /*set the Top headers*/
linkedInvestmentObj.setHeaderText(myColumns.split(","),0); /*set the headers*/
enableFiltering(linkedInvestmentObj,2,0,1);
linkedInvestmentObj.setColumnCount(2); // set the column count
linkedInvestmentObj.setSelectionMode("single-row");
linkedInvestmentObj.setCellFormat([string, string]);
setMultiSpanWidth(linkedInvestmentObj);
linkedInvestmentObj.setHeaderSpan(2,1,2);//col-1 spans across 2 columns
linkedInvestmentObj.setHeaderSpan(0,2,2);//col-2 span=0 (hidden)
linkedInvestmentObj.refresh(); // refresh the grid
-----------------------------------------------------------------------
please tell me wats wrong in this ASAP.
-thanks
APP
July 20,