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.

GridGroupingControl - width of columns and filter.

Thread ID:

Created:

Updated:

Platform:

Replies:

99169 May 4,2011 02:03 PM May 12,2011 06:15 AM Windows Forms 1
loading
Tags: GridControl
Tomio
Asked On May 4, 2011 02:03 PM

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

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

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



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.

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.

;