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.
Unfortunately, activation email could not send to your email. Please try again.

GridFilterBar

Thread ID:

Created:

Updated:

Platform:

Replies:

6646 Aug 21,2003 01:47 AM Aug 21,2003 02:39 AM Windows Forms 2
loading
Tags: GridControl
Cradle
Asked On August 21, 2003 01:47 AM

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 01:49 AM

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

Administrator [Syncfusion]
Replied On August 21, 2003 02:39 AM

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.

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.

;