Home Forums WinForms controls Xceed Grid for WinForms Fixed number of digits while editing cell Reply To: Fixed number of digits while editing cell

User (Old forums)
Member
Post count: 23064

Thanks Tom.
I already try this also.
But the Decimals property don’t limit the number of digits the user can enter.
If I set Decimals to 3 the user can enter for example 12,123456 but when he leaves the cell, the value is deleted because invalid.

Do you know if there is some event that i can trap every time the text of the cell is changed?
I try with ValueChanged but it is raised only when the cell loose the focus.
I try KeyDown and KeyPress but they are raised only the first time, when I start to write into the cell, but while editing the cell they are no more raised.

Thanks again.

Imported from legacy forums. Posted by Gian Luigi (had 307 views)