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. Image for the cookie policy date
close icon

GridGroupingControl - width of columns and filter.

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?

thanks



filter_2b3040ba.zip

1 Reply

AA Arulraj A Syncfusion Team 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.
http://www.syncfusion.com/support/forums/general/99196

Regards,
Arulraj.A



Loader.
Live Chat Icon For mobile
Up arrow icon