Show/Hide multiple rows

Show/Hide multiple rows

lrabbitlrabbit Posts: 12Questions: 1Answers: 0
edited July 2010 in General
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.

Replies

  • lrabbitlrabbit Posts: 12Questions: 1Answers: 0
    edited July 2010
    Ok, me being dim. Sorted it out by using something similar to the pipelining example. Have my table working like a tree table now!

    Datatables is a brilliant plugin!
This discussion has been closed.