Title: Two checkboxes in datagrid auto checking together? Post by: cohoman on September 30, 2013, 08:11:56 PM I'm trying to use a datagrid to display a few rows of data with two columns containing a checkbox each. The problem I'm having, is that when I click one of the checkboxes in a row, the 2nd checkbox in that same row gets checked automatically (and vice-versa). Below is an example of what I'm doing. Is there a way to have two independent checkboxes in separate columns of a datagrid on the same row?
Thanks for the help! cohoman Code: <body> Title: Re: Two checkboxes in datagrid auto checking together? Post by: stworthy on October 01, 2013, 07:20:27 AM There is only one build-in 'checkbox' column in a row. But you can use 'formatter' function to define your own 'checkbox' columns, just like this.
Code: <script> Title: Re: Two checkboxes in datagrid auto checking together? Post by: cohoman on October 02, 2013, 09:31:26 PM Great. Thanks for the suggestion and help!
|