Is it possible to let a checkbox in a column reflect the selected status of a row?
In a way to give another way to select multiple rows (instead of holding CTRL and clicking)...
I have a checkbox in a column, but the line selection is already reset when code in the mouseUp event executes.
datagrid checkbox for hiliting lines
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: datagrid checkbox for hiliting lines
Ah setting auto hilite of the datagrid to false does wonders, but you will loose default click/ctrl/shift functionality (which the checkboxes replaces). Checkboxes are more user friendly. Would be nice if there was an option to use both options.
Re: datagrid checkbox for hiliting lines
What I have done, which I think is even easier, is added an extra text column, called "X" or "Selected", or whatever you like. Then, when the user selects the row, I toggle the value of that cell to either "X" or empty. I like the look better than that of a checkbox.