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
463
ultraGrid Column
posted

Hi

I am using grid header style is CheckBox. when my form is load then it is check.how i am setting it to as a uncheck at a  form load.when i click on

it it works as bacis nature ?

Parents
No Data
Reply
  • 6158
    Suggested Answer
    Offline posted

    Hello,

    To change the CheckState of the header checkbox when it is initially displayed, you will have to call the SetHeaderCheckedState() method on the column itself. This can be done in the the InitilizeLayout event handler:

    e.Layout.Bands[0].Columns[0].SetHeaderCheckedState(this.ultraGrid1.Rows, true);

     

    Note that we are currently investigating an issue where CheckStates that are set prior to the form being shown are lost when the HeaderCheckBoxSynchronization resolved to 'None'.

    If you require further assistance regarding this method, please let me know.

    Thanks,

    Chris

Children
No Data