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
Hi. I have a WebCombo called wcboCompany with 3 columns. First two columns are visible, the last column is hidden.
If the columns are visible, I have no problems retrieving their values, but I cannot retrieve the value of the hidden column. The problem is that var cells (Client side code) retrieves only two visible cells, the hidden cell is not retrieved.
Server side code:
wcbo.Columns.Add("CompanyID")
wcbo.Columns(0).Width = 230
wcbo.Columns.Add("CompanyName")
wcbo.Columns(1).Width = 70
wcbo.Columns.Add("CompanyGroup")
wcbo.Columns(2).Hidden = "True"
wcbo.Columns(2).RenderOnHidden = "True"
Client side code (on row selection):
var combo = ISGetObject("wcboCompany");
var rows = combo4.GetRows();
var cells = rows[selectedIndex].GetCells(); // Only two visible cells are retrieved
var CompanyName = cells[2].Text; // Hidden cells[2] doesn’t exists…
Thanks.
Hello Ellen,
You can only get the hidden column value by selecting the row. OnAfterSelectedItem clientside event, you can capture the element.
e.g
function WebCombo1_OnAfterItemSelected(controlId) { var combo = ISGetObject("WebCombo1"); combo.GetSelectedRow().cells[2].innerText; return true; }
Regards,Handy
Thank you, Handy.
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