Row selection in Datatable

Hello,

I am using an Extended Datatable to display my data. My data in the backing bean is stored in the form of a DataModel.

Now when the user clicks on the individual rows he should get data for the selected row and then I also want to manipulate the data.Any idea how it can be done?

I dont want to use JavaScript(onRowClick).I want to create a binding with my DataModel somehow in the bean and then use the getRowData method.Am i thinking correctly?

best wishes

Neo

[506 byte] By [Neoreborna] at [2007-10-3 0:19:40]
# 1
hey ,lot many posts have been posted on this earlier,just make a search on datatable - row selection in the forum u will find good replies
rajureddya at 2007-7-14 17:11:04 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

> hey ,

> lot many posts have been posted on this earlier,just

> make a search on datatable - row selection in the

> forum u will find good replies

Yes ive read them. I want to get some data out of the getRowData method but I cant. Anyone knows how to type cast the Object returned from the getRowData method?

Neoreborna at 2007-7-14 17:11:04 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Best practices for datatables is explained here: http://balusc.xs4all.nl/srv/dev-j2p-dat.html
BalusCa at 2007-7-14 17:11:04 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...