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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid INvalidatio problem

Thread ID:

Created:

Updated:

Platform:

Replies:

76016 Aug 20,2008 06:41 AM UTC Aug 20,2008 08:46 AM UTC WPF 2
loading
Tags: GridControl
subindev
Asked On August 20, 2008 06:41 AM UTC

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..



Administrator [Syncfusion]
Replied On 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);




subindev
Replied On August 20, 2008 08:46 AM UTC

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

I really appreciate the quick response from your part.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;