With select-checkbox, appears, cannot check after refreshing table
With select-checkbox, appears, cannot check after refreshing table
I am using the select-checkbox className for a checkbox column which generally works well. I allow the user to select one or more rows and remove the items from the table (by deleting the row(s) in the database and refreshing the table). However, when attempting to check one of the remaining rows after refreshing, the checkboxes for the remaining items cannot be checked. I did a comparison of the html for the checkbox table cells and they both look the same (before and after removing/refreshing items from the table). Any ideas on how to troubleshoot this?
Thanks.
Tom
This question has an accepted answers - jump to answer
Answers
That's not an issue I've come across before I'm afraid, so I don't know an answer straight off. The way I'd approach the debugging myself is to run a CPU profile in Chrome and then try to trace the Javascript through and see what code is actually running.
Allan
I will use that approach. Thanks!
I realized I was not destroying and recreating the table when reloading data. It is working fine now.
Thanks.
Thanks for posting back. Good to hear you've got it working now.
Allan