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[..].
I can see the cell takes the celltype.
What I do wrong ?
ADAdministrator Syncfusion Team October 12, 2004 09:21 AM
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?