Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Disable Row Selection for ADF Table

AmittFeb 21 2017 — edited Feb 21 2017

Jdev 11.1.1.7

I have a table in my page written as:

<af:table value="#{bindings.ApplicationsVO1.collectionModel}"

                                  var="row"

                                  rows="#{bindings.ApplicationsVO1.rangeSize}"

                                  emptyText="#{bindings.ApplicationsVO1.viewable ? 'No data to display.' : 'Access Denied.'}"

                                  fetchSize="#{bindings.ApplicationsVO1.rangeSize}"

                                  rowBandingInterval="0" width="920"

                                  filterVisible="true" varStatus="vs"

                                  partialTriggers="::cb4 ::cb_clear ::cb1"

                                  selectedRowKeys="#{bindings.ApplicationsVO1.collectionModel.selectedRow}"

                                  selectionListener="#{pageFlowScope.ApplicationBean.selectApplicationTable_SelectionListener}"

                                  rowSelection="single" id="t1"

                                  disableColumnReordering="true"

                                  binding="#{pageFlowScope.ApplicationBean.applicationTable}">

..

..

..

</af:table>

This allows me to select the rows one my one and navigate through the rows.

Under certain circumstances(on the click of button) i need to disable the table row selection so that user would not be able to navigate through the rows of the table.

What is the best way to achieve that?

This post has been answered by managed BEAN on Feb 21 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 21 2017
Added on Feb 21 2017
1 comment
554 views