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
We have recently released WebUI Studio 2009 R2 Service Pack 1 which includes the fix for this issue. Please click here to read the official press release.
You could also read which fix or enchancement included in the latest build by visiting the support page and clicking the control name located on the Right Pane "Latest Builds".
Thank you for the page sample. I have replicate the issue in my environment. The behavior in IE could be corrected using this workaround:
function _WebGrid_OnEnterEditMode(controlId, tblName, editObject) { var _WebGrid = ISGetObject(controlId); var cellObj = editObject.ToCellObject(); if (cellObj.Name == "Priority_WebGridColumn") { var selIndex = editObject.element.length - 1; for (var i = 0; i < editObject.element.length; i++) { if (editObject.element.options[i].value == cellObj.Value) { selIndex = i; break; } } editObject.element.selectedIndex = selIndex; } return true;}
I have also inform the issue to our developer so it could be fixed in the future WebGrid release.
You could try inserting the new element during OnEnterEditMode WebGrid client side event handler. Here is the snippet that I used to achieve your desired result:
function _WebGrid_OnEnterEditMode(controlId, tblName, editObject) { var _WebGrid = ISGetObject(controlId); var cellObj = editObject.ToCellObject(); if (cellObj.Name == "Priority_WebGridColumn") { if (editObject.element.getElementsByTagName('optgroup').length == 0) { var newGrp = document.createElement('optgroup'); newGrp.setAttribute('label', '--- PLEASE SELECT ---'); var length = editObject.element.length; for (var i = 0; i < length; i++) { newGrp.appendChild(editObject.element.options[0]); } editObject.element.appendChild(newGrp); } } return true;}
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