everything seems ok, but now I want to add a button, and when press that button, it will give me the selected record information, I try to use singleselectionmodel as follow:
but now a very strange thing occur, when I select a radiobutton in a row of the table, the radio button will not selected, I need press the radio button once more to get it selected, before adding the singleselectionmodel,
no this problem occur!!
is there a way to locate the previous selected object so I can set its value to false?
I found that although I set the selected object to true, but the previous selected object is also true, and seems there is no method in onSelectionChange event to get the previous selected object, any method?
really need help, maybe I simplify what I want to do.
there is a celltable with a column of radio button for each row, user can select a row using that radio button, and click a button outside the celltable to open the detail page for that row.
the requirement is easy, but I really do not know how to do it.