Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi,
 
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
Posted 25-Sep-12 19:58pm
ASP_DIV179
Edited 25-Sep-12 22:07pm
v2

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

  Print Answers RSS
0 OriginalGriff 280
1 Sergey Alexandrovich Kryukov 279
2 CPallini 205
3 Maciej Los 197
4 Afzaal Ahmad Zeeshan 160
0 OriginalGriff 5,635
1 DamithSL 4,496
2 Maciej Los 3,942
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 26 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100