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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Columns Ordering + Show/Hide Selected Columns From datasource in GGC

Thread ID:

Created:

Updated:

Platform:

Replies:

49461 Sep 19,2006 03:57 PM UTC Sep 20,2006 04:59 AM UTC WinForms 1
loading
Tags: Grouping
jamesb
Asked On September 19, 2006 03:57 PM UTC

Let''s supposed I have a TataTable with columns in the following order:

ID, NAME, DESCRIPTION, RATE, QTY, TOTAL

I am binding this DataTable to a ggc like ddc.datasource = datatable;

However, I want to display selected columns and have control over the order that columns appear in the ggc.

Let''s supposed that I want to display only the columns below and in the order specified :

TOTAL, QTY, NAME, RATE

I''ve tried the following but without success

this.gridGroupingControl.Engine.TableDescriptor.VisibleColumns.Reset();
this.gridGroupingControl.TableDescriptor.VisibleColumns[0].Name = "TOTAL";
this.gridGroupingControl.TableDescriptor.VisibleColumns[1].Name = "QTY";
this.gridGroupingControl.TableDescriptor.VisibleColumns[2].Name = "NAME";
this.gridGroupingControl.TableDescriptor.VisibleColumns[3].Name = "RATE";


The ggc is ignoring the code above and displaying all the columns from the DataTable.

Please help!

Administrator [Syncfusion]
Replied On September 20, 2006 04:59 AM UTC

Hi James,

Please refer the below forum thread for more details.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=49197

Thanks,
Haneef

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

;