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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

HOWTO: custom draw cell?

Thread ID:





21503 Nov 12,2004 08:51 AM UTC Nov 12,2004 09:42 AM UTC WinForms 1
Tags: Grouping
Dominic Morris
Asked On November 12, 2004 08:51 AM UTC

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

Administrator [Syncfusion]
Replied On 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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon