I have a table, for which the number of columns are not fixed. However, the first 3 columns are always present.
So, the following attribute would not work in my case(as the number of columns needs to be fixed in that approach)
"aoColumns": [
{"sWidth": "50px"},
{"sWidth": "100px"},
{"sWidth": "100px"},
null,
null,
null
]
} );
I tried something like:
"aoColumns": [[1, { "sWidth": "50px" }] ]
This also does not work, as it creates some errors.
Please suggest a good way.