Icon OnHeaderClick Event

property OnHeaderClick: TGridHeaderClickEvent

Available In: Visual Client Applications

This event is triggered when the grid column's header is clicked. Return False from any event handler attached to this event in order to prevent the default action when the header is clicked.
Image