This content has been marked as final. Show 2 replies
Not sure what you mean by "What I am hoping to accomplish here is to remove the checkBox, have the program search through which ones are unchecked, and remove only the "affected" elements without reconstructing.
When does the checkbox get removed? After it is unchecked? Then if it is removed it can't then be checked again.
Something else seems wrong with the code, as seen by the x out of y message, where y keeps growing.
No, what I mean is the stored array value of how many checkboxes are checked. Therefore, when a checkbox is unchecked, the existing stored value of the array removes the value of the unchecked checkbox. This is supposed to work with looping around the values of the checkboxes in both tabs.
I would like to uncheck some of the checkboxes and populate what is modified and NOT recreating the entire array. I have successfully generated the dataGrid so that a user can uncheck and check checkboxes and have the correct output produced on the output, but it still seems that the array is still regenerated every time, so if I take the line myDataGrid.dataProvider.removeAll(); off from the select_array(), I would get an entire set of new database entries.
Have I done something wrong here? I am hoping to only see what is "changed" be removed or added.
Thanks for your help.