deselect Row in grid
Hi
is it possible to deselct a row in a grid?
In my case I have two grids on an admin form. When I click a row in grid1 the second grid (grid2) gets some data to show. Now I can choose some data in grid2.
When I now select another data entry in grid1 the second gris get some new data entries. The problem is that the second grid remembers his last selected Row.
Is there a possibility that I can set the lastSelectedRow property for the second grid to "-1" (no matter if client- or server side)
thanks and kind regards
Chris
Comments
-
What version of MBPM are you referring to?
0 -
ahh sorry I forgot
Version 9.0.2
0 -
The following client-side script would do that for you:
function selectGridRow(sGridName, iRowIndex) { var $0 = $find(sGridName); if ($0) { $0.clearSelections(); } return true; }
But as we've discussed in another post you would only be able to fire this function from an editable grid, so you still might have a problem if you are using a read-only grid.
0 -
This worked for me. Thanks Scott.
0 -
I have always asked that rows not automatically be highlighted -- at least if not formally selected -- but it has never been accepted. This is particularly distracting when multiple grids are on a page.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 156 General Questions
- 149 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 33 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories