Click here to Skip to main content
15,741,407 members
Please Sign up or sign in to vote.
0.00/5 (No votes)

I'm working on MVC3, Entity framework architecture. I use dataTable.js to assign an
HTML table and display data as rows-columns with expand/collapse on the rows.

Using fnAddTr plug-in, I add a child row, on click of '+' sign of parent. The parent as well as the child row has 14 columns that are checkboxes and 1 column is a read-only display. One button - 'save'
to edit and save all the checkbox values at once

The 2 things that I'am stuck with is
1.) retain the values of all the checkbox on collapse and expand before button click 'save'.
2.) fnAddTr adds rows at the bottom of all parents. But, what I need is to add the child rows below every parent row. Please find below the format in which i need to see.
Can someone help out in achieving the above 2 items

Sign D/C col1 col2 col4 col5 col6
(-) Dept1 X X X X X
Cls1 X X X X X
Updated 25-Sep-12 21:07pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900