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
We are trying to build a GDBG in which final data is stored in the objects instead of data table or dataset.
We have achieved following functionality with the GDBG by bounding the data bound data grid to the dataset.
1. Parent children hierarchy functionality by defining the relations in the tables of dataset
2. Writing formulas directly to the cells of the grid to change other columns.
3. Sorting of the grid by double clicking
Could you please help me to figure out if there is going to be any problem to achieve these functionalities if we bind objects to the grid instead of binding datasets?
Thanks
Gk
ADAdministrator Syncfusion Team October 21, 2005 05:07 PM UTC
Take a look at the \3.3.0.0\Windows\Grid.Windows\Samples\DataBound\Hierarchical\Customers sample. It binds to a collection of nested objects.
GUGulshanOctober 21, 2005 05:39 PM UTC
Thanks Clay
I got it!
Can we make sort functionality work in that example!
>Take a look at the \3.3.0.0\Windows\Grid.Windows\Samples\DataBound\Hierarchical\Customers sample. It binds to a collection of nested objects.
ADAdministrator Syncfusion Team October 21, 2005 10:46 PM UTC
The GridDataboundGrid only directly supports sorting if the DataSource is an IBindingList object, and supports sorting through the IBindingList interface.
Another option is to catch the click on the header cell and then directly sort your datasource somehow, and the call grid.Refersh to redisplay the grid.