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.

Overide CellType

Thread ID:

Created:

Updated:

Platform:

Replies:

91362 Nov 13,2009 09:05 AM Feb 14,2010 11:59 PM WPF 3
loading
Tags: GridControl
Thomas M
Asked On November 13, 2009 09:05 AM

Hi,

How can i add a custom control in a Cell (or in a Row) ?

Thanks in advance .

Thomas M.

Ganesan K [Syncfusion]
Replied On November 13, 2009 09:59 AM

Hi Thomas,

Thanks for using Syncfusion products.

You can create the Custom renderer class to hold your Custom Control.

Here is the sample for Custom CheckBox in GridDataControl.

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=GDCCheckBox_cfa311dc99580857.zip

Here is the sample for Custom Checkbox in GridControl.

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=GridControlCheckBox899348089.zip

Pleae let us know if you need any more details.

Thanks
Ganesan.


Alex Bruscke
Replied On February 1, 2010 05:54 PM

I have followed your suggestion and overrode the grid renderer in the same manner done in your example. However, I am having difficulty debugging the setting of cell values.

Can you explain the basic order of events that occur after a user leaves a cell, and the correct way to persist the value in the overridden cell renderer?

My specific problem is that a custom text box which is at the bottom of the visible part of the grid (within a scrollviewer), clears out its contents when the user leaves the cell.

Karthik Vishnu R [Syncfusion]
Replied On February 14, 2010 11:59 PM

Hi Alex,

Thanks for using Syncfusion products.

Download the attached PDF document to know more details about creating a CustomCellRenderer.

Please, let us know if you need more details.

Thanks,
Karthik



How To_d7319944.zip

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.

;