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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

binding specific columns

Thread ID:

Created:

Updated:

Platform:

Replies:

74714 Jun 25,2008 05:07 PM UTC Jun 28,2008 05:55 PM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Ron Anavi
Asked On June 25, 2008 05:07 PM UTC

Hello,

I bind data table to the gridGrouping control.

I don't want to see all the columns of the table just the ones that I choose (like gridView)
How can I do that ?

When I resize the gridGroupingControl (Height) the colums and the rows size also change.
How can I disable this behaviour


Rajarajeswari S [Syncfusion]
Replied On June 28, 2008 05:55 PM UTC


Hi Ron,

Thanks for evaluating Syncfusion products.

1. I don’t want to see all the columns of the table:

In GridGroupingControl, using VisibleColumns collection we can control the display of the columns. You have to just add the columns in the collection to make it visible. Please refer the below code snippet which illustrates this:

$TableDescriptor>
$VisibleColumns>
$syncfusion:GridVisibleColumnDescriptor Name="ID" />
$syncfusion:GridVisibleColumnDescriptor Name="EmpName" />
$syncfusion:GridVisibleColumnDescriptor Name="EmpNo" />
$syncfusion:GridVisibleColumnDescriptor Name="DeptNo" />
$/VisibleColumns>
$/TableDescriptor>

Please refer the sample from the below link which illustrates this:

http://websamples.syncfusion.com/samples/Grid.Web/6.3.0.10/Grid_Web_VisibleColumns/main.htm

2. Resize the GridGroupingControl (Height) the colums and the rows size also change:
This is the default behavior of the control. We can’t change this. The GridControl will be rendered as an Html table of the whole. So the table elements (row, columns) depends on the width and height of the table(GridControl).

Please let me know if you have any other concerns.

Regards,
Raji



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;