Additional (hidden) columns when bServerSide ?
Additional (hidden) columns when bServerSide ?
Is it currently possible to have additional columns sent to the front end that can be used to generate some actions buttons - edit, delete etc ?
I would like to retain, say 10 columns, but get additional columns from the back end and process them into 10 using fnRowCallback.
Thanks
J
I would like to retain, say 10 columns, but get additional columns from the back end and process them into 10 using fnRowCallback.
Thanks
J
This discussion has been closed.
Replies
Yes indeed you can post back hidden columns. Just use the bVisible option for the column you don't want to show and DataTables will not display it. Bare in mind that the number of columns that DataTables knows about (including hidden columns) should be the size of the array passed back. For example if you have 5 visible and 5 hidden columns, the array for each row passed back should be 10 elements long.
Regards,
Allan