Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Checkbox on Grid problem.
posted

 

I am using Sheridan Data Widgets 3.12.

 

This is my problem. I create the grid in the method InitColumnProps. Then the UnboundReadData method loads the data from the row buffers. There are two columns. One column is a checkbox. ( The command is .Style = ssStyleCheckBox ).

 Here is the problem. I make my pick by clicking on the checkbox. When I move thru the grid using the scroll bar or even when I click around on the grid, the grid will run the UnboundReadData method each and every time I move thru the grid. As a result, the checkbox that is checked is instantly unchecked because the UnboundReadData method runs again and loads the grid with data from the row buffer.

 What I need to do is have the user move thru the grid and click on different checkboxes. And I need those choices to stay. Unless of course if the user decides to uncheck something.

 So, how do I do this?