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