We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

HOWTO: custom draw cell?

I''d like to register a class of cell and handle its drawing myself. Can''t see how to do this.

1 Reply

AD Administrator Syncfusion Team November 12, 2004 09:42 AM UTC

You would derive a cellrenderer class and a cellmodel class like you would do with a GridControl or GridDataBoundGrid. Then you could register the cell model class using this.gridGroupingControl1.TableModel.CellModels.Add. Here is a sample that shows a button in Column header by deriving a cell type. If you want to do your own drawing, you would override the Draw method in the renderer and do it there.

Loader.
Live Chat Icon For mobile
Up arrow icon