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

Width of the filter list

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


5 Replies

TO Tomio May 6, 2011 05:15 PM UTC

Here's image problem.



filter_ced4f4f8.zip


SN Sridhar N Syncfusion Team May 9, 2011 07:27 AM UTC

Hi Tomio,

Thanks for using Syncfusion products

We are sorry for inconvenience caused. We are unable to reproduce the issue.We have prepared a simple sample and the same can be downloaded from the following link.

Forum51191637.zip

Could you please try the above sample and get back to us whether you are able to reproduce the issue? If not, could you please give more information or by reproducing the issue in the above sample so that we could sort out the issue and provide you with solution.The information provided would be of great help in resolving the issue.

Please let us know if any concerns.

Regards,
Sridhar N





TO Tomio May 10, 2011 02:00 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_37de0292.rar


TO Tomio May 11, 2011 04:44 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




AA Arulraj A Syncfusion Team May 12, 2011 10:18 AM UTC

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



Loader.
Live Chat Icon For mobile
Up arrow icon