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

Grid Data Bound Grid FilterBar Does not populate.

Hi,
I am using a simple Grid Data Bound Grid which is linked to a datatable as the datasource. My datatable has a large amount of data(2000 to 3000 rows).
I have added a FilterBar to the grid. When I click on the filter button on th column header, a dropdown list appears but it is blank and does not contain any values.


Here are a few lines of code:

gridDataBoundGrid1.BeginUpdate();
gridDataBoundGrid1.DataSource = dt;
gridDataBoundGrid1.AllowResizeToFit = true;
gridModel.ColWidths.ResizeToFit(GridRangeInfo.Table(), GridResizeToFitOptions.IncludeHeaders);
GridFilterBar filterBar = new Syncfusion.Windows.Forms.Grid.GridFilterBar();
filterBar.WireGrid(gridDataBoundGrid1);
gridDataBoundGrid1.EndUpdate();

I cant figure it out, I would appreciate some help.


1 Reply

AA Arulraj A Syncfusion Team May 19, 2011 08:38 PM UTC

Hi Pawan,

Thanks for your interest in Syncfusion products

Please refer the Filter Bar Grid Demo from our shipped dashboard sample. Where GridDataBoundGrid is wired with FilterBar.

{installed drive}\Users\{UserName}\AppData\Local\Syncfusion\EssentialStudio\{Version}\Windows\Grid.Windows\Samples\2.0\Data Bound\Filter Bar Grid Demo

Please let us know if you have any further concerns.

Regards,
Arulraj.A



Loader.
Live Chat Icon For mobile
Up arrow icon