iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I am using the WebGrid with lasest version. I have added the client event OnExitEditMode. In this event there is a check on a grid cell and I return false to don't exit from active cell and it is ok but the focus (if I have clicked tab) go on the next cell. The focus doesn't exit from the active cell.
You can see it in the attacked image.
Is this a behaviour or a bug ?
thanks
Hi Fabrizio,
I have test your scenario and manage to replicate the issue. I have forwarded this issue to our Development Team. I will inform you in this thread for any news about the issue. Thank you.
Regards,
Julia
Hereby, I would like to inform you that our Development Team has confirm that this issue is not a bug. The exit edit mode doesn't lock the cell navigation, which is the default implementation.
Due to a lot of mode for exit edit mode alone, we suggest you to implement this behavior only in your scenario.
Here is the step:- During the exit edit mode event, put a flag that indicate the Grid to lock up navigation, example : grid.LockCellNavigation = true.
- Handle OnKeyDown event of the Grid. If the pressed key is either left, right, top, bottom, tab, or shift tab, then return false if the grid's LockCellNavigation is true (which was set from the previous condition).
Hope this helps.
Warm regards,
Hi Julia,
instead to do the code from you suggested, for me is more simple before the 'return false' set an 'cell.Select()' and the you should not exit anymore also if you click left, right, top, bottom, tab, or shift tab
regards
Fabrizio
Glad to hear that you has solved the problem. And thank you very much for sharing the info with us.
Please let us know if you have any more questions, it will be our pleasure to help.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname