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
when use webgrid add new row.may i leave this the row,it can insert the datatbase.now is i must key down ther shift+enter. how can i do.
thanks
Hello,
Please forgive me for lack of understanding about the reported problem. Could you please explain your scenario in more details?
If you want to add new row, by default you simply press SHIFT + ENTER and the grid will add the new row. Or, you can set NewRowLostFocusAction to AlwaysPrompt. Therefore, each time you add new row and then lost focus, it will prompt you whether you want to add the new row and cancel the operation. Below is the code sample:
<LayoutSettings AllowAddNew="Yes" NewRowLostFocusAction="AlwaysPrompt"> </LayoutSettings>
Hope this helps. Thank you.
Regards,-Martin-
thanks your answer ,but when i add new row ,i find other problem.when the database has no data, i add new row , and set
When there is no database in the grid and you add the new row, it will not prompt anything because you currently don't have any row to be selected, and WebGrid assumes that you did not perform any lost focus action.
I'm not sure this is an issue in WebGrid or this is the default behaviour of WebGrid. For the time being, please use SHIFT+Enter when you want to add a new row in the grid that has no database initially.
I will discuss this issue further with the developer team and I will let you know the update.
Thank you.
Note that after further testing, the lost focus action isn’t triggered only by the Grid. If you have other focusable elements, like a button or textbox, the lost focus action such as AlwaysPrompt will take into affect.
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