Can not add column !!! (top_bottom_left_right.html)
Can not add column !!! (top_bottom_left_right.html)
![dondo1020](https://secure.gravatar.com/avatar/3700c1f8794002e2605bf925fd5cd9c6/?default=https%3A%2F%2Fvanillicon.com%2F3700c1f8794002e2605bf925fd5cd9c6_200.png&rating=g&size=120)
Hi. I am trying to add some more columns to the sample code above and it break in this function, something with the column index. Do I have to set the total column count some where? Could someone give me some advise.
Thanks
function _fnSetCellData(oSettings, iRow, iCol, val) {
var oCol = oSettings.aoColumns[iCol];
var oData = oSettings.aoData[iRow]._aData;
oCol.fnSetData(oData, val);
}
Thanks
function _fnSetCellData(oSettings, iRow, iCol, val) {
var oCol = oSettings.aoColumns[iCol];
var oData = oSettings.aoData[iRow]._aData;
oCol.fnSetData(oData, val);
}
This discussion has been closed.