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

Width of the filter list

Thread ID:

Created:

Updated:

Platform:

Replies:

99211 May 6,2011 05:17 PM UTC May 16,2011 07:09 PM UTC WinForms 3
loading
Tags: Grouping
Tomio
Asked On May 6, 2011 05:17 PM UTC

Good morning.

I'm in the filter of my problem GridGroupingControl.
When my grid is clustered, the width of my list of the first column of the filter is created small, not the column width.
How do I make equal the width of the column?
The other columns are now by default only the first column no.

Here's image problem.

Att,
Tomio Padilha



filter_154e5bdd.zip

Tomio
Replied On May 10, 2011 02:05 PM UTC

Good afternoon.

Follows a model of the problem in VB. And two pictures also show the problem.

I would resaltar that the problem only happens with the filter of the first column when the column is grouped.

Problem: the width of the filter list is smaller than the width of the column.

Tank



Custom_fa5e2bdd.rar

Tomio
Replied On May 11, 2011 04:45 PM UTC

Good morning.

I managed to solve the problem.
I got the code:

Private Sub gridgrouping_tablecontrolcurrentcellshowingdropdown(ByVal sender As System.Object, ByVal e As Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCurrentCellShowingDropDownEventArgs) Handles gridGrouping.TableControlCurrentCellShowingDropDown
Dim widthcollumn As Integer = gridGrouping.TableDescriptor.Columns(0).Width
If (e.Inner.Size.Width < widthcollumn) Then
widthcollumn += 17
e.Inner.Size = New Size(widthcollumn, e.Inner.Size.Height)
End If
End Sub

thank



Rajadurai C [Syncfusion]
Replied On May 16, 2011 07:09 PM UTC

Hi Tomio,

We are glad to hear that you requirement had been achieved.

Thank you for using Syncfusion Products.

Regards,
Rajadurai


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

;