To provide this functionality, handle the ready-to-use ColumnHeaderClick event. In the event handler, iterate through the grid's visible rows and invoke the SelectCell method for them.
Question Comments
Added By: Ryan Lucking at: 10/31/2017 7:20:35 AM This example uses an obsolete API.
'GridViewBase.BeginSelection()' is obsolete: 'Use the DataControlBase.BeginSelection method instead'
'GridViewBase.EndSelection()' is obsolete: 'Use the DataControlBase.EndSelection method instead'
Added By: Ivan (DevExpress Support) at: 11/1/2017 7:18:47 AM Hi Ryan,
Thank you for letting us know. I have updated this example to avoid using these obsolete methods and overriding the non-documented OnColumnHeaderClick method.