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

Custom Renderer

Thread ID:





20197 Oct 12,2004 11:42 AM UTC Oct 12,2004 01:21 PM UTC WinForms 1
Tags: GridControl
Stefan T
Asked On October 12, 2004 11:42 AM UTC

Hi, I had derived a custom model+renderer from GridStaticCellModel and it worked with GridDataBoundGrid. Now, in another implementation with GridControlBaseImp + Model, it never calls the CreateRenderer. I call CellModels.Add and then I initialize a base style. Then I call this.Model.ColStyles[..]. ModifyStyle(...,StyleModifyType.Copy). I can see the cell takes the celltype. What I do wrong ? Thanks

Administrator [Syncfusion]
Replied On October 12, 2004 01:21 PM UTC

Hi Stefan, not sure what''s going on here. Some questions - maybe they help you find missing parts in your solution ... What happens if you get Model[row, col].CellType. Will it return the correct type? Will Model[row, col].BaseStyle return the correct base style you assigned to the style object? If you add a event handler for Model.QueryCellModel will it ever get hit querying for your specific celltype? Stefan


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