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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridFilterBar

Thread ID:

Created:

Updated:

Platform:

Replies:

6646 Aug 21,2003 05:47 AM UTC Aug 21,2003 06:39 AM UTC WinForms 2
loading
Tags: GridControl
Cradle
Asked On August 21, 2003 05:47 AM UTC

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;

Cradle
Replied On August 21, 2003 05:49 AM UTC

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

Administrator [Syncfusion]
Replied On 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";

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;