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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problems with custom renderer/model

Thread ID:





15477 Jun 18,2004 07:10 PM UTC Jun 18,2004 09:16 PM UTC WinForms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On June 18, 2004 07:10 PM UTC

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 08:39 PM UTC

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 09:16 PM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon