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

GridGroupingControl - width of columns and filter.

Thread ID:





99169 May 4,2011 06:03 PM UTC May 12,2011 10:15 AM UTC WinForms 1
Tags: GridControl
Asked On May 4, 2011 06:03 PM UTC

Good afternoon.

I program in VB and am using a GridGroupingControl. And I need two aids:

1º In my gridGroupingControl has two columns, with a standard width of 296 each.
I want to block the user to increase or decrease the width of the columns.

2º In the same gridGroupingControl is also possible to make grouping and filtering.
When not collated the width of the items are the Filter column width.
Only when it is grouped, the filter of the first column the width of the list items are smaller than the width of the column.
What do I do to keep the size of the column width?



Arulraj A [Syncfusion]
Replied On May 12, 2011 10:15 AM UTC

Hi Tomio,

1. To block the user from resizing the column, we suggest you to set the Cancel property to true in ColWidthsChanging event. The following code explains the same.

this.gridGroupingControl1.TableModel.ColWidthsChanging += new GridRowColSizeChangingEventHandler(TableModel_ColWidthsChanging);

void TableModel_ColWidthsChanging(object sender, GridRowColSizeChangingEventArgs e)
e.Cancel = true;

2. Please follow up the following forum for Filterbar combobox problem.



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

This page will automatically be redirected to the 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