Mobile Development 10.11 | webMethods Mobile SuiteWeb Help | webMethods Mobile Designer Native User Interface Reference | Mobile Designer Native User Interface | Using List Views and Elements | Using Edit Mode in List Views
 
Using Edit Mode in List Views
If you want to select multiple rows in a list view, you can enter edit mode by calling the IListRenderer.startEditMode(IListEditModeListener listener) method. It returns an instance of the IListEditMode interface that contains some useful methods, such as
*selectRow(int row) - Selects a row.
*deselectRow(int row) - Deselects a row.
*finish() - Finishes edit mode.
*cancel() - Cancels edit mode.
In addition, you can determine if a specific row is selectable by implementing the IListProvider.shouldselectInEditMode(int row) method.