gridview - C# Devexpress How to code the CheckBox column header to select or deselect all -


how use c# code program devexpress gridview checkbox column header show check box, once check or uncheck, select or deselect check box of data row.

i know how program check box below, not find clue above. need advise master could.

thank you, brian

repositoryitemcheckedit repositorycheckedit1 = gridcontrol1.repositoryitems.add("checkedit") repositoryitemcheckedit; repositorycheckedit1.valuechecked = "true"; repositorycheckedit1.valueunchecked = "false"; gridview1.columns["item"].columnedit = repositorycheckedit1; 

i suggest go through below devexpress example , threads similar requirement:

multiple selection using checkbox (web style)
xtragrid checkbox column
how show checkedit in column header
adding checkbox xtragrid , iterating through it

hope help.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -