Top
Top
LibraryEASYProcess Reference ManualProcessesServicesHtmlWorkshopSetRowsSelection

SetRowSelection Overview

Use SetRowSelection to select/unselect certain rows in a list section or select/unselect all rows in the list section. This service can only be used for list sections and the sections RowSelection property must be set to ‘Single’ or ‘Multiple’. If using SelectAll, RowSelection must be set to ‘Multiple’.


SetRowSelection Use Example
Workshop:HtmlWorkshop
Service:SetRowsSelection
Inputs
SectionId

The SectionId of the section that you wish to select/deselect. Section must be a List Section and must have RowSelection set to ‘Single’ or ‘Multiple’.


SelectAll

The section specified by the SectionId above must have RowSelection set to ‘Multiple’ to use this service input. If this input is left blank it will be ignored. If set to ‘True’ all rows will be selected. If set to ‘False’ all rows will be deselected.


Rows

If you only want to select/deselect certain rows you right click Rows to add a new row that you wish to select/deselect.


Row

Row is a row that you wish to select/deselect. The setting for the row overrides the SelectAll input.


Checked

For each Row you set Checked to ‘True’ or ‘False’. If set to ‘True’ the row specified by the RowIndex below will be selected. If set to ‘False’ the row will be deselected.


RowIndex

RowIndex is the row that you wish to select/deselect. The first row has an index of 0 and it goes up from there.


SetRowSelection Use Examples

SetRowSelection Example 1

Use SetRowSelection to select/deselect all rows.

In this webapart we have a list of order and want to select all orders.

The Select Button has the SetRowSelection service in it with the above setup.

After the button runs the section now looks like the image below. All Rows are selected in the list section.

If all or some rows were selected and you wanted to deselect them it would be the same setup but now SelectAll would be ‘False’.

SetRowSelection Example 2

Select only a single or few rows in the list section.

With the setup below the first, third, and fifth rows are going to be selected.

 

To deselect certain rows set Checked to ‘False’.


Powered by EASYProcess (© 2019 K-Rise Systems, Inc).