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
400
Numeric column value format
posted

I am very new in Infragistics igGrid. I am using igGrid in my current web application using asp.net MVC. I am facing 2 issues in the Grid column while entering any numeric value.

1. In igGrid, when I try to enter the numeric values, it doesn't accept more than 2 deciaml values
i.e., If I want to enter "2.896730", then it will allow me to enter only till 2 decimal places i.e., "2.89"

2. Also, I want to always show an integer value with six decimal places i.e., 1.000000
Currently, it only accepts integer numbers without decimal value i.e., 1


I tried to modify the code in UCHierarchicalGridUI.cs class as below,

GridColumn gc = null;
gc.Format = "#.######";

but it doesnt work as per my requirement.

Please help me how to achive this. Any help would be appreciated. Thanks in advance.