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

HOWTO: custom draw cell?

Thread ID:

Created:

Updated:

Platform:

Replies:

21503 Nov 12,2004 08:51 AM UTC Nov 12,2004 09:42 AM UTC Windows Forms 1
loading
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.

CONFIRMATION

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.

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

;