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.

Grid Grouping Control checkbox row selector

Thread ID:

Created:

Updated:

Platform:

Replies:

124393 Jun 7,2016 02:52 AM Jun 10,2016 12:42 AM Windows Forms 3
loading
Tags: GridGroupingControl
Tomasz
Asked On June 7, 2016 02:52 AM

Hello!

I am trying to create a databound grid, with a checkbox row selector.
So far I tried some of the examples found on the forums, but neither of those suited my needs. I managed to add a checkbox column, but failed to add and freeze the column as the first column in the grid, and I've got two questions:
  1. Is there a way to manually add a column (be it by VS designer, or programmaticaly) to the grid grouping control, and automaticaly creating the rest of the columns from the assigned datasource (when I bind the datasource and don't add the first column manually, the columns are generated correctly) ?
  2. Is there any kind of build-in row selector based on checkboxes, or should I create a column (bound or unboud field) with a CellType="CheckBox" and manually program it to achieve the goal ?

Thanks in advance for the reply!

Adhikesevan Kothandaraman [Syncfusion]
Replied On June 8, 2016 09:13 AM

Hi Tomasz, 

Thanks for using Syncfusion products. 


Is there a way to manually add a column (be it by VS designer, or programmaticaly) to the grid grouping control, and automaticaly creating the rest of the columns from the assigned datasource (when I bind the datasource and don't add the first column manually, the columns are generated correctly) ? 

If you want to add the unbound columns to the GridGroupingControl, please refer to the following KB document. It will shows how to add the unbound checkbox column at the runtime to the GridGroupingControl, 

KB: 
 
Is there any kind of build-in row selector based on checkboxes, or should I create a column (bound or unboud field) with a CellType="CheckBox" and manually program it to achieve the goal ? 

There is no default support for selecting a row based on the CheckBox value of the particular field. If you want to select the record based on the checkbox value, you can use the customization discussed in the following KB document,  

KB: 
 

Regards, 
Adhi 


Tomasz
Replied On June 9, 2016 02:12 PM

Thank you!
This works well for me! :)

Adhikesevan Kothandaraman [Syncfusion]
Replied On June 10, 2016 12:42 AM

Hi Thomas, 

Thanks for your update. 

We are glad to know that your reported query has been solved. Please let us know, if you need any further assistance. 

Regards, 
Adhi 


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.

;