The following example in the always impressive documentation describes how to hide certain columns from only the Editor view:
http://editor.datatables.net/release/DataTables/extras/Editor/examples/tableOnlyData.html
This seems to be meant for server-generated fields, like the example's "Last updated."
I have a table (a view, actually) with numerous information-only columns that cannot be edited.
Is there another way to make these columns invisible to the editor?
The problem is that, using the example, I'd have to send the row ID as a custom entry in the edit request then re-query the server for the columns in that row and manually combine them before generating "row" in the JSON. The DataTable already has those values, so it seems like there must be an easier way than the complex and slow one I thought of.
http://editor.datatables.net/release/DataTables/extras/Editor/examples/tableOnlyData.html
This seems to be meant for server-generated fields, like the example's "Last updated."
I have a table (a view, actually) with numerous information-only columns that cannot be edited.
Is there another way to make these columns invisible to the editor?
The problem is that, using the example, I'd have to send the row ID as a custom entry in the edit request then re-query the server for the columns in that row and manually combine them before generating "row" in the JSON. The DataTable already has those values, so it seems like there must be an easier way than the complex and slow one I thought of.