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
490
Formate cell for column
posted

hi ,

i am doing formating for column ,i have to do formate for each cell in the column like the follwing,but i have Memory performnce problem please see the attached ,when i am using the below code the GC not callinf for the grid .

colume1

1.22

1.333

1.5

and i am using the follwing code : 

 

 

 

 

 

int d_num = int.Parse(e.Row.Cells["Decimal_points"].Value.ToString());

 

 

DefaultEditorOwnerSettings settings = new DefaultEditorOwnerSettings();

 

settings.Format =

 

CommonConstant

.GetGridyMask(d_num);//retuen "0.0" or "0.00" or "0.000"

 

 

 

DefaultEditorOwner owner = new DefaultEditorOwner();

owner.Settings = settings;

e.Row.Cells[

"MW_OPENING_PRICE"].Editor = new EditorWithText (owner);