What i did
1. create array of checkboxes with unique numeric ID 2. on click of <td>(with unique numeric ID also ) i checked-unchecked the checkbox 3. I used jQuery to check-uncheck logic.
Problem : When i click fresh on it will change to checked. Then i again click on it and it unchecked.Then i continue this process and it gets stucks on checked.