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.
I have a gridgroupingcontrol with a filter bar on it.
What is different about this control, is that I do not set the ".DataSource" for it until sometime after the form has already been loaded and displayed. (I am asynchronously loading the data in the background).
When I do finally set the DataSource, the grid displays the data just fine.. but the filterbar does not have any values in the drop down listboxes to allow the user to filter the grid.
Any idea how I can tell the filterbar to refresh its list of filterable values after I set the DataSource?
Okay, I am having an additional problem.
I am setting all of the column header labels using GridColumnDescriptor objects (.HeaderText property) in the TableDescriptor.Columns collection .
After setting the data source asynchronously, it changes my column header labels that I had set previously. It changes them to the column name of the underlying datasource which I do not want to use.
Is there a way to solve this?
BWBrian WrightJune 17, 2005 06:44 PM UTC
Nevermind.. it all works.
Basically I was setting this for each column:
gridColumnDescriptor1.Name = "xx"
But I simply got rid of all those lines and changed them to:
gridColumnDescriptor1.HeaderText = "xx"
and both problems went away..
Sorry.