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 a common method that is used to SELECT a row and ACTIVATEEDIT on a specified field. This code works fine when the cell that is specified is viewable within the WebGrid's scrollable window. For example, if a horizontal scrollbar occurs and this code is execute, the ActivateEdit generates an exception:
Invalid argument
function WebGrid_SelectRow(gridID, row, fieldName) { try { if (IsNullOrEmpty(gridID) == true) { return; } if (row == null) { return; } // Select Row // NOTE: Ensure more data is not loaded causing unnecessary postback var grid = WebGrid_GetGrid(gridID); if (grid == null) { return; } var haltLoadMore = grid.HaltLoadMore; grid.HaltLoadMore = true; row.Select(); // ActivateEdit on specified field if (IsNullOrEmpty(fieldName) == false) { var cells = row.GetCells(); if (cells != null) { var field = cells.GetNamedItem(fieldName); if (field != null) { field.ActivateEdit(); } } } grid.HaltLoadMore = haltLoadMore; } catch (ex) { ShowJSException(ex); } }
A possible fix would be to use the FrozenColumns property to force the column to always be visible but that is not desired by my users. Can you confirm this bug and is there a fix in place or a work around? Than
<FreezePaneSettings AbsoluteScrolling="True" ActiveFrozenColumns="3" MaxFrozenColumns="3" ShowInContextMenu="False" ShowSplitterLine="False" SplitterLineColor="ActiveBorder" SplitterLineWidth="1" />
Hello Shawn,
I am not using FrozenColumn in my attached sample. It works well when activate edit. Please ensure you use our latest hotfixes. If my sample does not describe any of your scenario, please modify the sample so It can replicate the issue. I need to it to investigate your issue.
Regards,Handy
Actually, it appears to be a either the ActivateEdit and/or the Row's Select() Method... Really odd.. I can't seem to reproduce in another project. No problem with either method if the scrollbar is all the way to the LEFT... Very odd.
As you can see in my sample test, it works well. Please try to see if there are some settings that are needed to replicate the issue.
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