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

Filter ComboBox per Cell

Hi, I have a GridGrouping control that have some cells of celltype "ComboBox". My crazy client now requires each of these comboBoxes to contain filtered values of the same list. What is the easiest, best and fastest way to implement this. Is there an event that fires before the combox gets populated, or should I bind each cell to a different DataSource - if then HOW do I do it? Regards Theo Danzfuss tdanzfuss@retrorabbit.co.za

1 Reply

AD Administrator Syncfusion Team December 7, 2005 03:36 PM UTC

Bind the combobox in the column to the DataTable.DefaultView (the unfiltered datatable that you want to use). Then handle the TableControlCurrentCellShowingDropDown event. There set DataTable.DefaultView.RowFilter to specify the filter for the current cell.

Loader.
Live Chat Icon For mobile
Up arrow icon