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
Hello,
I'm using an older version of WebCombo (2.0.*) and I need to obtain the values in each column of the selected row. I can only seem to retrieve the values in the DataTextField and DataValueField, even though there are 4+ columns showing.
I'm afraid that WebCombo 2.0 has now been discontinued for several years and there are not going to be any further updates for it. We have introduced WebCombo 4.0 that has been enhanced to provide more powerful features to implement user scenario without any hassle.
However, I have attached a sample file that used WebCombo 4.0 for your reference.
By default, WebCombo only retrieves value in DataTextField and DataValueField. By using OnAfterItemSelected Client-side event, you can configure WebCombo to retrieve the values in each column when you are in multiple columns mode.
Use the following Javascript code to retrieve values in each column:
function WebCombo1_OnAfterItemSelected(controlId) { var WebCombo1 = ISGetObject(controlId); var SelectedRow = WebCombo1.GetSelectedRow(); var CellLength = SelectedRow.cells.length; for (var i = 0; i < CellLength; i++) { alert(SelectedRow.cells[i].innerText); } return true; }
Hope this helps. Thank you.
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