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.

Custom Renderer

Thread ID:

Created:

Updated:

Platform:

Replies:

20197 Oct 12,2004 07:42 AM Oct 12,2004 09:21 AM Windows Forms 1
loading
Tags: GridControl
Stefan T
Asked On October 12, 2004 07:42 AM

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 09:21 AM

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

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.

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.

;