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.
Hi.
Two questions about filterbar on a GridGroupingControl.
1) I Have this code:
this.gridGroupingControl.TableDescriptor.Columns["Size"].AllowFilter = true;
this.gridGroupingControl.TopLevelGroupOptions.ShowFilterBar = true;
this.gridGroupingControl.TableDescriptor.Columns["Size"].Appearance.AnyRecordFieldCell.ReadOnly = true;
The last line disable the style of the filterbar cell. I don''t have anymore the combo box.
2)Is it possible to make a filter bar like the gridDataBoundControl filterbar?
Thank you.
Sorry i have forgot one thing in my code:
this.gridGroupingControl.TableDescriptor.Columns["Size"].Appearance.AnyRecordFieldCell.CellType = "ImageStatus";
Where "ImageStatus" is a home made kind of image, derived from Image.
>Hi.
>
>Two questions about filterbar on a GridGroupingControl.
>
>1) I Have this code:
>
>this.gridGroupingControl.TableDescriptor.Columns["Size"].AllowFilter = true;
>this.gridGroupingControl.TopLevelGroupOptions.ShowFilterBar = true;
>this.gridGroupingControl.TableDescriptor.Columns["Size"].Appearance.AnyRecordFieldCell.ReadOnly = true;
>
>The last line disable the style of the filterbar cell. I don''t have anymore the combo box.
>2)Is it possible to make a filter bar like the gridDataBoundControl filterbar?
>
>Thank you.
ADAdministrator Syncfusion Team March 29, 2005 03:36 PM UTC
I am not sure about your first question. You can try hiding the ComboBox button with code like:
this.gridGroupingControl1.TableDescriptor.Columns["Size"].Appearance.FilterBarCell.ShowButtons = GridShowButtons.Hide;
Here is a forum thread that shows one way to have a custom dialog in the GridGroupingControl filterbar cell.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=25998