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
25
Getting/Setting the checkState of checkBox in UltraGrid
posted
Hi, can someone please show me a c# sample of how to get and set the checkState of a checkBox control in an UltraGrid. I need to check the state of a column in my grid and then set the checkState of another column in the grid depending on the checkState of the 1st column. I know this should be really quite easy but trying to find it on Google is quite a chore. Thanks in advance! James
Parents
  • 1590
    Verified Answer
    posted

     Hello,

     Well first in the designer dialog of the grid, set the style to that column as Check Box.

    than in the file just do following for changing its state

    this.ultraGrid1.rows[rowNum].cells["colName"].value = false / true; 

    (well this code is when u know ur row num) 

     

    iMi 

Reply Children
No Data