Posts

Showing posts with the label Delete rows

JDev/ADF -- Programmatically Deleting selected rows in ADF Table

Image
Hi, In this post i would like to explain you, how to delete selected rows from the table programmatically. Using check box selection. Employees Table with select Boolean check box. From the ValueChangeEvent, prepare one ArrayList with the keys of Selected Rows.     public void employeeSelectionListener(ValueChangeEvent valueChangeEvent) {         // Add event code here...         DCIteratorBinding dci = getEmployeeIterator(); // fetches the Employee Iterator Binding         if(valueChangeEvent != null && Boolean.parseBoolean(valueChangeEvent.getNewValue()+"")){         Row row = dci.getCurrentRow();         keyList.add(row.getKey());         }         else{        ...