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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Custom renderer

Thread ID:





55292 Jan 26,2007 05:31 PM UTC Feb 1,2007 12:31 AM UTC WinForms 3
Tags: GridControl
Stuart Grimsell
Asked On January 26, 2007 05:31 PM UTC

I am trying to attach a custom renderer to the first column in a hierarchical grid.

I cannot get the renderer to be attached to the column if I have "ShowTreeLines" set to true - I always get the standard GridDataBoundTreeCellRenderer instead (my renderer is derived from this one).

How can I do this.....



Administrator [Syncfusion]
Replied On January 29, 2007 07:00 PM UTC

Hi Stuart,

We were not able to reproduce the issue here. Is it possible for you to upload us a sample or modify the browser sample to reproduce the issue here? This will help us to analyse the issue further.

Best Regards,

Stuart Grimsell
Replied On January 30, 2007 12:37 PM UTC


Attached is a zipped project that shows the problem ( I think ).

Toggle the check box to set whether the grid is showing tree lines - my renderer paints everything a rather fetching violet.




Administrator [Syncfusion]
Replied On February 1, 2007 12:31 AM UTC

Hi Stuart,

Do you want to replace the DataBoundTreeCell with your FunkyDrawCell in a grid? If so, you should remove the databound treecell from the cellmodel and add your FunkyDrawCell to cellmodel. Here is a code snippet to show this.

FunkyDrawModel parp = new FunkyDrawModel( gridDataBoundGrid1.Model );
//gridDataBoundGrid1.Model.CellModels.Add("FunkyDraw", parp );
gridDataBoundGrid1.Model.CellModels.Add("DataBoundTreeCell", parp );

Here is a modified sample.

Best Regards,


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