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.
Syncfusion Feedback

GridGroupingControl without data source

Thread ID:

Created:

Updated:

Platform:

Replies:

42560 Mar 31,2006 03:01 PM UTC Apr 1,2006 08:06 AM UTC Windows Forms 1
loading
Tags: GridControl
fahmed
Asked On March 31, 2006 03:01 PM UTC

Hi, How can I do the following with GridGroupingControl; 1) Programatically define n columns. 2) Add simple rows where each row has n columns without using any DataSource. 3) Enable Multiselect with Ctrl\Shift keys. I would be nice to have an example showing how this is all done programatically. Regards, Faris

Administrator [Syncfusion]
Replied On April 1, 2006 08:06 AM UTC

Hi Faris, Issue 1: You can add columns by TableDescriptor / Columns collection in the property window or through the following code. this.gridGroupingControl1.TableDescriptor.Columns.Add("Column1"); Issue 2: This is not supported for a GridGroupingControl. A GridGroupingControl normally holds no data. The data comes from the datasource is just displayed in the grid. Currently it is possible to add row / record to the grid binded with datasource. Issue 3: By setting AllowSelection property you can achieve this. this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.Any; Thanks for the patience. Let us know if you need any further assistance. Best regards, Madhan

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.

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

;