Show/hide columns destroy and create the content
Show/hide columns destroy and create the content
Hello everyone,
I use dataTables plugin to show and edit the content of the rows of an invoice.
Before I used Flexigrid plugin to make the same thing and I used to hide the column for the agent commission.
I tried to make the same with DataTables, but I discovered that when I hide that column with column().visibile(false), that column is destroyed and the input tag with the commission info is lost on the POST when I save submitting my form
I hope to have been clear
Any solutions?
Replies
I found a possibile solution:
http://stackoverflow.com/questions/14372655/jquery-datatables-hide-column-without-removing-it-from-dom
this worked for me but it's not the best
Bye