The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ADAdministrator Syncfusion Team 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.
SAscot adamsAugust 22, 2003 03:01 PM UTC
can't thank you enough for all the speedy help... you're awesome
DUduyuAugust 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?
ADAdministrator Syncfusion Team 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.