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
It seems that when you are using batch update mode and have HighlightChanges enabled, when you update a row through JavaScript, the correct row highlighting color is not applied.
Steps to reproduce - IE 8:
1. Use the Client_ProgrammaticEdit.aspx page in the samples
2. Update the LayoutSettings declaration to allow batch update and turn on HighlightChanges.
3. Run the page, select a row, and press the "Set current row Text / Value" button.
Notice that the row stays gray until you select it again, then after you leave the row, it changes to the proper color.
Is there a way around this or a fix?
Yes, that seems to be the WebGrid's behavior by design. When you clicked the button outside WebGrid, the Grid loses its focus and hence reflect the selection with LostFocusStyle (gray backcolor by default).
If you would like the Grid to stay with the focused row style after a button click, simply set the focus back to the Grid again in your button click javascript. Eg, grid.SetFocus();
Let me know if that works for you.
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