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
Hi guys, hope you can help.
I have a page with 2 webgrids.
Each row has styles for selected row.
My problem is this:
When user selects a row at the first grid, row style changes to indicate this is a selected row, I would like to keep the selected row style after this webgrid loss focus, in other words I would like this row to stay “selected” even when the user operates on other grids.
Thanks
In order to have WebGrid keep the selected row style after WebGrid lost focus is by defining the LostFocusRow style identic to the SelectedRow style.
The SelectedRowStyle property gets or sets the style applied to the selected row. The LostFocusRowStyle property defines the style applied to the selected row when the focus is out of the grid’s area.
The snippet code below shows a simple sample about how to both of those properties to have red BackColor.
<ISWebGrid:WebGrid ...> ... <LayoutSettings AllowSorting="Yes"> <SelectedRowStyle BackColor="Red" /> <LostFocusRowStyle BackColor="Red" /> </LayoutSettings> ... </ISWebGrid:WebGrid>
Hope this helps.
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