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.

Problems with custom renderer/model

Thread ID:

Created:

Updated:

Platform:

Replies:

15477 Jun 18,2004 03:10 PM Jun 18,2004 05:16 PM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On June 18, 2004 03:10 PM

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

Administrator [Syncfusion]
Replied On 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.

Administrator [Syncfusion]
Replied On 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

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.

;