DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding iter =
(DCIteratorBinding)bc.findIteratorBinding("YourViewName1Iterator");
String keyValue="123";
Key key = new Key(new Object[] { keyValue });
RowSetIterator rsi = iter.getRowSetIterator();
Row row = rsi.findByKey(key, 1)[0];
Next you can set the found row as the current row:
rsi.setCurrentRow(row);
and remove row from Iterator:
iter.removeCurrentRow();
No comments:
Post a Comment