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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

filterbar autocomplete?

Thread ID:

Created:

Updated:

Platform:

Replies:

6697 Aug 22,2003 12:52 PM UTC Aug 29,2003 12:48 PM UTC WinForms 4
loading
Tags: GridControl
scot adams
Asked On August 22, 2003 12:52 PM UTC

Is there any way to make the filterbar have autocomplete capabilities?

Administrator [Syncfusion]
Replied On August 22, 2003 12:59 PM UTC

To get the autocomplete using the standard GridFilterBar, try this. In the sample we ship (), remove the line in SetTableIntoGridAndWireFilterBar that reads theFilterBar.WireGrid(this.gridDataBoundGrid1); and replace it with this code. GridStyleInfo style = new GridStyleInfo(); style.ModifyStyle(this.gridDataBoundGrid1.BaseStylesMap["Header"].StyleInfo, StyleModifyType.Copy); style.CellType = "ComboBox"; style.ExclusiveChoiceList = true; style.BaseStyle = "Standard"; style.Font.Bold = false; style.BackColor = this.gridDataBoundGrid1.TableStyle.BackColor; style.Borders.Bottom = new GridBorder(GridBorderStyle.Dashed); style.DropDownStyle = GridDropDownStyle.AutoComplete; theFilterBar.WireGrid(this.gridDataBoundGrid1, style); This adds the DropDownStyle = AutoComplete setting to the default combobox.

scot adams
Replied On August 22, 2003 03:01 PM UTC

can't thank you enough for all the speedy help... you're awesome

duyu
Replied On August 29, 2003 12:20 PM UTC

Is there any way to make the filterbar use 'LIKE a*' to filter the data, instead of using the '=a' currently?

Administrator [Syncfusion]
Replied On August 29, 2003 12:48 PM UTC

If you want to see the items in the grid dynamically filter as you type into the filter cell, then here is a little sample that does this. It uses a derived GridFilterBar class to implement this functionality.

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

;