I have a dynamically populated datagrid, which is clickable.
The user can click on items from the datagrid in order to populate input fields, of which there are 20. When the user clicks one of the cells, a corresponding checkbox is checked
The assignment logic has been split into 4 batches.
The first batch presents no problem because it deals with the first 5 rows of the datagrid and the first 5 input fields.
The remaining batches include code to check to see which input field is empty in order to know which input field to assign to.
Unfortunately a side effect of this is that some of the checks aren't exclusive and as a result multiple input field assignment is occurring.
Any suggestions how to remedy this problem would be most welcome.
Thanks.
The user can click on items from the datagrid in order to populate input fields, of which there are 20. When the user clicks one of the cells, a corresponding checkbox is checked
The assignment logic has been split into 4 batches.
The first batch presents no problem because it deals with the first 5 rows of the datagrid and the first 5 input fields.
The remaining batches include code to check to see which input field is empty in order to know which input field to assign to.
Unfortunately a side effect of this is that some of the checks aren't exclusive and as a result multiple input field assignment is occurring.
Any suggestions how to remedy this problem would be most welcome.
Thanks.