Hi,
You will not be able to prevent user from leaving the cell, however you should be able to use Grid.editItem to put the user back to the previous cell
after a time delay. The code will be something like this:
Code: JavaScript
if (validation_failed)
{
//You must call editItem with a time delay at here
setTimeout(function()
{
eo_GetObject("Grid1").editItem(itemIndex, false);
}, 10);
}
For the focus issue you can try the same time delay trick again. The textbox is not visible yet when begin_edit is called. But if you delay your textBox.focus() call the focus should work for you.
I do not believe you can change the decimal operator for Number segment. However you are free to use multiple segments.
Hope this helps.
Thanks