-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5043700
By: tommy_weber
Hi guys,
As you probably know, we can get data of a selected listitem in listbox by assigning selectedItem="model.selectedItemObject".
But in grid, it is kind of different and there is nothing like selectedRow because in a grid it is not supposed to "select" a row.. do you know how to handle this?
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5044413
By: salma43
hi,
i have the same problem and i can't resolve it.
Please if someone know how to resolve it answer us.
thanks.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5045655
By: msrednsi
I know this is not an ideal solution, it requires a server-roundtrip, but for me it works.
Put a 'selected' field on your bean, use a checkbox, assign an onCheck event...
easy!
Or put a checkbox and use its onCheck event to enlist the bean as selected, something like onCheck="mycontroller.objectSelected(self.value)"
Assuming each row's value contains a bean.
Hope that helps
Asked: 2008-06-20 09:15:14 +0800
Seen: 169 times
Last updated: Jun 22 '08