Plaing the Checkbox control in Farpoint grid column Header

Posted by: himaheshh on 8 September 2017, 1:17 pm EST

  • Posted 8 September 2017, 1:17 pm EST

    I want to place the Checkbox control in Farpoint grid column header.


    When user checked the header checkbox ,all the checkboxes in the child rows should be selected.I am not able to find the check box selected or not at the Grid clumn header.


    Please let me know is it posible to check the Header check box is selected or not.

  • Replied 8 September 2017, 1:17 pm EST

    You can place a checkbox in a header but it is not editable so you wouldn't be able to check or uncheck it.
  • Replied 8 September 2017, 1:17 pm EST

    We had a similar situation with a Button in a RowHeader. You can trap the CellClick event and maybe manually check and uncheck the checkbox to get the visual effect while then checking/unchecking all of the data rows. Check e.ColumnHeader and e.Column to make sure you are in the ColumnHeader and in the column in question.


    Alternatively, you could place a Windows Forms check box over the spread and react to the CheckChanged event. If you did that, you would probably want to trap the spread move, resize, etc events to keep your Windows check box properly positioned on the spread. You would also want to BringToFront the Windows Forms check box.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels