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 have integrate a webgrid with a webcombo, the webcombo have tree columns
i want that in the event OnAfterItemSelected of webcombo set defaultvalue any columns of webgrid <
---------- function javascript ---------------------
{ aspnetForm.ctl00_Contentplaceholder1_hddIdcatalog.value=wcArticulo.Value; }
{ aspnetForm.ctl00_Contentplaceholder1_hddIdcatalog.value = 0; }
wgDetalle.RootTable.Columns[6].DefaultText = row.cells[3].innerText;
wgDetalle.RootTable.Columns[6].DefaultValue = row.cells[3].innerText;
}
Hi,
Please try the following code
function WebCombo1_OnAfterItemSelected(controlId) { var WebCombo1 = ISGetObject(controlId); var wcSelrow = WebCombo1.GetSelectedRow(); var wcSelcel = wcSelrow.cells[3]; var wcSelText = we.Selcel.innerText; var grid= ISGetObject("WebGrid1"); var wgSelobj= grid.GetSelectedObject(); var wgSelRow = wgSelobj.ToRowObject(); var wgSelcel= wgSelRow.GetCells()[4].SetText(wcSelText); return true; }
Hope this helps
Regards,
Niven
It's a good request, but only a update in this line
var wcSelcel = wcSelrow.cells[3];var wcSelText = wcSelcel.innerText;
thanks Niven
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