We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Grid INvalidatio problem

Hello Clay,
I have created an application, in which my cell type is a data template.
But when i fill values to the grid, it is not invalidating..
but when click on that grid then only it is invalidating and i could see the values.

do i need to call any function to invalidate the cells..
i have tried
1.InvalidateCell()
2.IncalidateVisual()
3.UpdateLayout() etc, but it shows values only when i click on that grid..



2 Replies

AD Administrator Syncfusion Team August 20, 2008 07:26 AM UTC

After changing the values in your grid, try this code:

GridControl.UnloadArrangedCells();
GridControl.RenderedCellVisuals.RemoveRows(0, int.MaxValue, null);
GridControl.InvalidateVisual(true);





SU subindev August 20, 2008 08:46 AM UTC

Thanks a lot Clay........
It works.......

I really appreciate the quick response from your part.


Loader.
Live Chat Icon For mobile
Up arrow icon