FAQ Windows Forms
Width of the filter list
May 12, 2011 06:18 AM by Arulraj A[Syncfusion]
Tomio
Width of the filter list
May 6, 2011 01:14 PM
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_b9ae6a94.zip
Tomio
Width of the filter list
May 10, 2011 10:05 AM
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_e48f6f1f.rar
Tomio
Width of the filter list
May 11, 2011 12:46 PM
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


Arulraj A
[Syncfusion]
Width of the filter list
May 12, 2011 06:18 AM
Hi Tomio,

We are glad to know that you have solved the problem at your end. Please let us know if you have any further concerns.

Regards,
Arulraj.A


::adCenter::