Show/Hide multiple rows
Show/Hide multiple rows
Hello Everyone,
I hope this is not a stupid question and I have had a good dig through this excellent forum first!
Am attempting to show/hide multiple rows in a table. I am getting my initial data from an external json source.
In my fnServerData function I copy the json delivered to store all my row data, then I remove all unneeded rows from the json that is used by Datatables.
then, within my fnOpenClose function I use fnAddData to add back in the needed rows.
However, I can't seem to find a way to redraw/update the table without it retrieving from the external json source agian and effectively overwriting any changes I have made.
Am I approaching this the wrong way? Or just being dim:-)
Cheers,
Paul.
I hope this is not a stupid question and I have had a good dig through this excellent forum first!
Am attempting to show/hide multiple rows in a table. I am getting my initial data from an external json source.
In my fnServerData function I copy the json delivered to store all my row data, then I remove all unneeded rows from the json that is used by Datatables.
then, within my fnOpenClose function I use fnAddData to add back in the needed rows.
However, I can't seem to find a way to redraw/update the table without it retrieving from the external json source agian and effectively overwriting any changes I have made.
Am I approaching this the wrong way? Or just being dim:-)
Cheers,
Paul.
This discussion has been closed.
Replies
Datatables is a brilliant plugin!