[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
FIXGridListBinding getLastSelectedIndex missing  XML
Forum Index -> Development
Author Message
wocher

Power User
[Avatar]

Joined: 14/04/2008 13:10:19
Messages: 49
Location: Ravensburg
Offline

we missing a getLastSelectedIndex for the FIXGridListbinding who get the index of the last selected Item. to navigate into a list with next und previous buttons.

Greet Wocher

„Ein Haus ohne Bücher ist arm, auch wenn schöne Teppiche seinen Boden und kostbare Tapeten und Bilder die Wände bedecken.“
Hermann Hesse, Dichter, Schriftsteller und Maler * 02. 07. 1877 - Calw † 09. 08. 1962 - Montagnola, Schweiz

Rainer Wocher Quentia Development GmbH (Sotware Developer)
[ICQ]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5538
Offline

I believe you talk about a grid with mulitple selection (otherwise getSelectedItem()) would be the one to use - use grid.getItems().indexof() in order to find out the index).

In case of multiple selection: you get called about select/deselect events within the onRowSelect/onRowDeselect methods of the item. Please store the information you need (last selcted item) within these methods.

Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team