AD
Administrator
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.
RS
Russell Simmons
June 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.
>
>