I'm running into an issue where I need to be able to select (by checkbox) the row data and from there, group the checked rows into new groups. The issue is that when I click on the checkbox, I don't have access to the onRowClick data that I set before the checkbox is changed. I do however, have access to onRowClick's row data when I click on an onClick handler in a cell. I can provide code snippets if necessary to see what's going on, but the issue is clear that for some reason the onChange event is firing off before the onRowClick event. I bet I could just wrap the call in a setTimeout but I'm wondering if anyone else has run into this issue and has a workaround?
I'm running into an issue where I need to be able to select (by checkbox) the row data and from there, group the checked rows into new groups. The issue is that when I click on the checkbox, I don't have access to the onRowClick data that I set before the checkbox is changed. I do however, have access to onRowClick's row data when I click on an onClick handler in a cell. I can provide code snippets if necessary to see what's going on, but the issue is clear that for some reason the onChange event is firing off before the onRowClick event. I bet I could just wrap the call in a setTimeout but I'm wondering if anyone else has run into this issue and has a workaround?