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 2 visible columns in the grid and 2 hidden columns. The grid is groupped by one of those hidden columns. And the HideColumnsWhenGrouped setting is "No" in case it matters.
If I drag the grouping from the GroupByBox out, it generates a 'null' Javascript error because its trying to get the cellIndex of the WebGridColumn's HTML element (returned from the GetElement method). But there is no HTML element, because its hidden.
If I right-click on the grouping in the GroupByBox, it generates a different Javascript error "'this.GetElement().cellIndex' is null or not an object" within a call to WebGridColumn.GetViewPosition().
So the user can't ungroup the column because of these errors.
Thanks,
Mike
In my test using the scenario you described I could successfully replicate the issue. This issue seems to be caused by a bug. I have submitted a bug report to the developer regarding this issue.
I'm having the same problem. Is there a workaround for this?
The available workaround is on the ungroup client side event handler, you will need to validate if the column element is available. If it is not available, rreturn false to invalidate the operation. This workaround will cause the error to not occur, however you will not be able to remove the hidden column group.
Here is the snippet:
<script language="javascript" type="text/javascript"> function WebGrid1_OnColumnUngroup(controlId, columnObject) { var WebGrid1 = ISGetObject(controlId); return columnObject.GetElement() ? true : false; } </script>
Thanks. Do you know when the permanent fix will be available? The users need to be able to ungroup.
Unfortunately I have no information regarding the fix availability. I will inform you if there is any update for the fix.
I just been updated regarding the ungroup issue. The fix will be available in the next hotfix release.
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