Skip to Content
0
Former Member
Sep 15, 2005 at 12:26 PM

Problem with radiobutton in tableview

20 Views

Hi

I have a tableview with singleselect so a radiobutton is showed. I have added the setOnRowSelection

<% myTableView1.setOnRowSelection("RowSelection"); %>

I use the TableRowSelectionEvent to get data from the row.

This event is, ofcourse, activated when I press one of the radiobuttons, and I have access to the data in that row in the onRowSelection method, but when the pages is redrawn, the radiobutton is not marked. WHY?

If I don't want to use the event when I press the radiobutton(and remove ...setOnRowSelection), but fx. when I press a button, how do I then know which radiobutton/row in the table that is marked and get the data? I need data from several columns in the table

thanks

Peter