RB
Ragamathulla B
Syncfusion Team
September 3, 2011 03:11 PM UTC
Hi Nikesh,
Thank you for your interest in syncfusion products.
you can acheive your desired using RecordFilters_Changing event.The following code explain the same.
Private Sub RecordFilters_Changing(ByVal sender As Object, ByVal e As Syncfusion.Collections.ListPropertyChangedEventArgs)
If e.Action = Syncfusion.Collections.ListPropertyChangedType.Add Then
Dim rd As RecordFilterDescriptor = TryCast(e.Item, RecordFilterDescriptor)
Dim a() As String = rd.Name.Split("["c,"]"c)
For j As Integer = 0 To a.Length - 1
If gridGroupingControl1.TableDescriptor.Columns.Contains(a(j)) Then
If Not ht.Contains(a(j)) Then
ht.Add(a(j), a(j))
End If
End If
Next j
End If
End Sub
Let me know if you have any furthere concern.
Regards,
Ragamathullah B.