Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
How can I DeallocateCells but mantain Appeareance on ultragrid cells?
posted

Hi, 

I have this method:

 private void grid_InitializeRow(object sender, InitializeRowEventArgs e)    

at the begining  foreach (UltraGridCell cell in e.Row.Cells)   I set an Appeareance on cells

and at the end of the method I call e.Row.DeallocateCells();

That clear all the appeareance settings I put on each cell. I call this method because I need to release some memory that solves one bug related to out of memory exception.

Is there a way to set the default appeareance of the cells to the changes I made before call DeallocateCells?

how can I DeallocateCells realesing memory and mantain the appearence changes I want?

thanks

Parents Reply Children
No Data