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.
My form has a hierarchical grid that needs to be refreshed after a dialog displayed on top is set to nothing. I need to be able to re-display the grid in the same state that the user left it at. For example, multiple rows may have been expanded prior to displaying the dialog. When the grid is re-displayed, the same rows should still be expanded.
Any ideas on the best course of action?
ADAdministrator Syncfusion Team June 23, 2003 07:23 PM UTC
Attached is a sample the retains the expand states of a grid before and after a sort.
During a Sort, there is a LisChanged.Reset done, whcih caused the grid to reset itself, and this causes a painting problem where a BeginUpdate does work to freeze the painting. To avoid this problem, this sample uses a Win32 API call. If you just want to save and restore the expand states, you may not need this additional technical code.
RSRussell SimmonsJune 23, 2003 07:47 PM UTC
Thanks. I'll try this out.
> Attached is a sample the retains the expand states of a grid before and after a sort.
>
> During a Sort, there is a LisChanged.Reset done, whcih caused the grid to reset itself, and this causes a painting problem where a BeginUpdate does work to freeze the painting. To avoid this problem, this sample uses a Win32 API call. If you just want to save and restore the expand states, you may not need this additional technical code.
>
>