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


I want to know if DataSource of my GDBG is dynamic ,where filterbar can not run? gridDataBoundGridDictionary.DataSource=m_DataSet; this.Cursor = Cursors.WaitCursor; this.gridDataBoundGridDictionary.BeginUpdate(); theFilterBar = new GridFilterBar(); this.gridDataBoundGridDictionary.BindingContext=this.gridRecordNavigationControl1.BindingContext; //theFilterBar.CreatingColumnHeader+=new GridFilterBarCreatingColumnHeaderEventHandler(theFilterBar_CreatingColumnHeader); theFilterBar.WireGrid(this.gridDataBoundGridDictionary); //theFilterBar.FilterBarTextChanged+=new GridFilterBarTextChangedEventHandler(theFilterBar_FilterBarTextChanged); this.gridDataBoundGridDictionary.EndUpdate(); this.Cursor = Cursors.Arrow;

2 Replies

CR Cradle August 21, 2003 05:49 AM UTC

What's more,my GEBG is in A GridRecordNavigationControl!

AD Administrator Syncfusion Team August 21, 2003 06:39 AM UTC

If you want to use a GridFilterBar, then currently your datasource must be a DataTable. So, you should have code like: gridDataBoundGridDictionary.DataSource= someDataTable; or gridDataBoundGridDictionary.DataSource=m_DataSet gridDataBoundGridDictionary.DataMember="nameOfSomeDataTableIn_m_DataSet";

Live Chat Icon For mobile
Up arrow icon