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!

ADF Table Select all checkbox

WaplakApr 17 2018 — edited Apr 18 2018

I try to following code for check all rows default.need to select all rows when load table.When load the table first time all rows selected.but when load the fragment again all check box are deselected.

        ViewObjectImpl adv = this.getAdvanceDetailsVl();
        RowSetIterator ri = adv.createRowSetIterator(null);
        ri.reset();
        while (ri.hasNext()) {
            Row currentRow = ri.next();
            currentRow.setAttribute("CheckItem", Boolean.TRUE);
        }
        ri.closeRowSetIterator();
    }

JDev version 12.2.1.2

This post has been answered by ManishPandey on Apr 18 2018
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 16 2018
Added on Apr 17 2018
4 comments
691 views