How to change step interval (like ScrollInterval in DoubleTextbox) in DoubleEdit cell?

Hi.

The default value of step interval in DoubleEdit type cell is 1.0. 
I want to change it to 0.1. 
In DoubleTextbox, the scrollinterval property plays such a role.
Can you help me to find a way?

Regards,
Sungjin


1 Reply 1 reply marked as answer

AR Arulpriya Ramalingam Syncfusion Team July 15, 2020 04:31 PM UTC

Hi Sungjin, 
 
Thank you for using Syncfusion products. 
 
The format for the cell will update the values with specified decimal separators based on the values. If you want to be update the value 1.00 as, 0.10 the cell value should be 0.1 and the GridControl does not have any built-in functionality. This can be workaround by multiplying the cellvalue with 0.1. we have created a simple sample as per your requirement and please make use of the below code. 
 
Example code 
 
this.grid.Model[i, j].CellType = "DoubleEdit"; 
//To convert the cell value 
this.grid.Model[i, j].CellValue = i * 0.1; 
this.grid.Model[i, j].Format = "0.00"; 
 
 
Please get back to us, if you need any further assistance. 
 
Regards, 
Arulpriya 


Marked as answer
Loader.
Up arrow icon