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 some hidden rows in the GDBG. I'm binding the grid to a DataTable which i gets updated as i get data.
So lets say there are 5 rows (column [ID] 5,4,3,2,1) in the datatable and so in the grid. I hide the 1st (i.e. [ID]=5) row in the grid. After some time when i get data and the datatable is updated with 6th row ([ID]=6) and I bind it to grid then my the row containing [ID]=6 is hidden. How to solve this problem?
ADAdministrator Syncfusion Team March 13, 2007 09:44 PM UTC
Hi Amiya,
This is by design. If you want to hide a row based on the cellvalue than you can handle the QueryRowHeight event and set the e.Size to "ZERO". Here is a code snippet to show this.
ADAdministrator Syncfusion Team March 13, 2007 11:20 PM UTC
Haneef,
Is there any event which is raised after grid is databound? I want to see the changes in the DataView ((DataTable)grid.DataSource).DefaultView which I can't see in the next line after binding the grid.
Thanks, Amiya
ADAdministrator Syncfusion Team March 14, 2007 04:30 PM UTC
Hi Amiya,
To detect the dataSource change in the grid, you need to use the Binder.DataSourceChanged Event. Here is a code snippet.