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 want to know whether the webgrid can set multiple cells to editmode?
in my code,i use a button to invoke a function try to set multiple cells to edit,but only the last cell become editmode.
is there any way to set multiple cells to edit?
here is my code
function EditRow() { var e = event.srcElement; var WebGrid = ISGetObject("WebGrid1").RootTable; var ThisRow = WebGrid.GetRow(e.parentNode.parentNode.parentNode.recordIndex); if (e.value == "edit") { ThisRow.BeginEdit(); ThisRow.GetCell("vol").ActivateEdit(); ThisRow.GetCell("number").ActivateEdit(); } }
WebGrid does not allow setting multiple cells to edit and only allow having one cell into edit mode at a time. This is consistent with the fact that users can only edit a cell at a time instead of edit multiple cell of a row at a time.
This behavior should explain why only the last cell of your code, the “number” cell, becomes edit mode.
Hope this helps.
Thanks for your replay,i will figure out another solution.
I had an other problem on programmatic create webgrid.I put one simple webgrid in my page and i try to modify the caption of each column in the event "InitializeColumn",and it works.
However,when i wanted to get the captions in client side,i got the captions were unmodified.In client side i use "OnAfterInitialize" event try to get the captions.
I want to know how this happened and how to get the modified captions?
Hope for you replay.
Since the last question posted on January 12, 2012 10:43 PM is not related to the topic of this thread, “how to set multiple columns to editmode”, could you please kindly post the question in the new thread?I would be happy to assist you again.
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