Now i am displaying the Column Name statically from Html View .. For Eg
these are all my column headers:
PlatformName, length, width, height. These are included in table in my HTML view.
And in client side using Datatable initialization I am displaying
"aoColumns" : [
"mDataProp" : "PlatformName",
"mDataProp" : "length "
"mDataProp" : "width "
"mDataProp" : "height "
]
Everything works fine for me. But my new task is to add these column Name from the server side(i need to process the column name from the server side and send it to the client through JSON format) , so that the columns can be display dynamically in table.
Can anyone give an insight to me on how can this be done,,link to a blog or sample code would be of great help...