Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridTableView.OnCustomDrawGroupCell Event

In This Article

Allows you to draw grouped rows in a custom manner.

#Declaration

Delphi
property OnCustomDrawGroupCell: TcxGridTableCellCustomDrawEvent read; write;

#Remarks

Handle the OnCustomDrawGroupCell event to override or complement the predefined grouped row draw routine. This event occurs every time a grouped row is about to be drawn. ACanvas and AViewInfo event parameters specify the canvas to draw upon and the ViewInfo object about the rows, respectively. Refer to the TcxGridTableCellViewInfo class description for details on this ViewInfo object.

The ADone parameter specifies whether default painting should be performed after executing the event handler. Set it to True to prohibit default painting for the processed row.

The Sender parameter specifies the View whose row is being painted.

See Also