IlpTable tableComponent = new IlpTable();
// Set a selection mode to select multiple entire rows
tableComponent.setSelectionMode(IlpTableSelectionMode.
MULTIPLE_OBJECTS_SELECTION);
MULTIPLE_OBJECTS_SELECTION: multiple
rows can be selected (by using the traditional Shift and/or
Control keys and dragging the mouse).
-
The following methods can be used to
select business objects:
addSelectionObject(IlpObject object)
adds a business object to the selection (the entire row is
selected).
removeSelectionObject(IlpObject
object)
removes a business object from the selection.
getSelectedObjects()
returns the collection of selected business objects.
getSelectedObject()
returns the first selected business object (the first in the
collection of business objects.)
isObjectSelected(IlpObject object)
returns
true
if the given selected object is selected.
clearSelection()
deselects all the selected objets.
selectAll()
selects all the visible cells (this means that filtered
objects and hidden columns are not selected.)