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.

Cell types in GridListControl

Thread ID:

Created:

Updated:

Platform:

Replies:

82058 May 28,2009 07:08 PM Jun 2,2009 12:15 PM Windows Forms 1
loading
Tags: GridControl
Peter Trevor
Asked On May 28, 2009 07:08 PM

Using ESS 2009v2 with VS2005 ...

I have a multicolumn GridListControl bound to an ArrayList of data objects. One of the columns is boolean and it is displaying this as the text "True" or "False". Yet on other grids bool is rendered as a checkbox. How do I get a GridListControl to show booleans as checkboxes?

Also, having these checkboxes as editable (ie. toggling when clicked on) would be a bonus.

Thanks.

Rajadurai C [Syncfusion]
Replied On June 2, 2009 12:15 PM

Hi Pedro,

Thanks for your interest in Syncfusion Products.

The gridlistcontrol is designed for read-only purpose. It doesn't allow editing of cells. However, if you want to display checkbox and to change values of it at runtime, then you need to handle the changes made to the cellvalue through some events and place it accordingly which is difficult to achieve efficiently.

Here is a sample which i tried to display checkbox and interact in GridListControl by handling some events to some extent. But the exact functionality cannot be achieved in this case.
http://files.syncfusion.com/support/samples/Grid.Windows/7.2.0.20/F82058.zip

Because of this, we are prescribing GridDataBoundGrid control instead of GridListControl, to add checkbox and interact with it at runtime which has similar appearance as GridListControl.

Regards,
Rajadurai

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.

;