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 I have edited the cell and Press Enter key, I want to get the cell'S newEditvalue,but It is oldvalue.See the picture and the code below.Could you please give me a demo that how can I get the editing value?? (Such as 'mzd33')
function PopupOtherPageGrid() { var grid = ISGetObject("WebGrid1"); var curCell = grid.GetActiveEditCell().cellIndex; var WebDialogBox2 = ISGetObject("WebDialogBox1"); var activeCell = grid.GetActiveEditCell(); var cellText=activeCell.ToCellObject().Value; if(event.keyCode == 13&&curCell==2) { alert("newValue is "+cellText) // WebDialogBox2.SetContentURL("PopPage.aspx?name="+cellText); // WebDialogBox2.ShowDialog(); } }
Hello,
I have attached a sample file for your reference. In this sample, WebGrid is bound to Customers table using ISDataSource control.
In my case, the code is working. I'm using GetActiveEditCell() method to get the active cell object, and get the edit value afterwards.
function DisplayEdit() { var grid = ISGetObject("WebGrid1"); var ActiveEditCell = grid.GetActiveEditCell(); alert(ActiveEditCell.ToCellObject().Value); }
Hope this helps. Thank you.
Does everyone help me????
thank you,Martin Lie.IT WORKS NOW
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