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

Custom Renderer

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

1 Reply

AD Administrator Syncfusion Team 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

Live Chat Icon For mobile
Up arrow icon