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

Problems with custom renderer/model

I''ve created a custom rendere and model for the column header cells. They work great except that I can no longer perform column selection or table selection. I instantiated the custom model and then added it to the grid CellModels. I then changed the "Column Header" style in the BaseStylesMap to have a CellType of my custom model. Am I missing a step somewhere in there? Pete

2 Replies

AD Administrator Syncfusion Team June 18, 2004 04:39 PM

I was able to place custom cells as column headers without losing the columns selections property. Check your grid.AllowSelection property to make sure it includes Columns.


AD Administrator Syncfusion Team June 18, 2004 05:16 PM

I found the problem. The renderer was overriding the OnHitTest() method, which I didn''t need anymore anyway. When I removed it, that fixed it. Thanks. Pete

Loader.
Live Chat Icon For mobile
Up arrow icon