Newer Version Available
DynamicPickListRows Class
Namespace
DynamicPickListRows Constructors
The following are constructors for DynamicPickListRows.
DynamicPickListRows(rows, containsAllRows)
Signature
public DynamicPickListRows(List<VisualEditor.DataRow> rows, Boolean containsAllRows)
Parameters
- rows
- Type: List VisualEditor.DataRow
- List of picklist items.
- containsAllRows
- Type: Boolean
- Indicates if all values of the picklist are included in a type-ahead search query (true) or only those values initially displayed when the list is clicked on (false).
- A picklist in a Lightning component can display only the first 200 values of a list. If containsAllRows is set to false, when a user does a type-ahead search to find values in the picklist, the search will only look at those first 200 values that were displayed, not the complete set of picklist values.
DynamicPickListRows(rows)
Signature
public DynamicPickListRows(List<VisualEditor.DataRow> rows)
Parameters
- rows
- Type: List VisualEditor.DataRow
- List of picklist rows.
DynamicPickListRows Methods
The following are methods for DynamicPickListRows.
addAllRows(rows)
Signature
public void addAllRows(List<VisualEditor.DataRow> rows)
Parameters
- rows
- Type: List VisualEditor.DataRow
- List of picklist items.
Return Value
Type: void
addRow(row)
Signature
public void addRow(VisualEditor.DataRow row)
Parameters
- row
- Type: VisualEditor.DataRow
- A single picklist item.
Return Value
Type: void
containsAllRows()
Signature
public Boolean containsAllRows()
Return Value
Type: Boolean
A picklist in a Lightning component can display only the first 200 values of a list. If containsAllRows is set to false, when a user does a type-ahead search to find values in the picklist, the search will only look at those first 200 values that were displayed, not the complete set of picklist values.
get(i)
Signature
public VisualEditor.DataRow get(Integer i)
Parameters
- i
- Type: Integer
- The index.
Return Value
Type: VisualEditor.DataRow
getDataRows()
Signature
public List<VisualEditor.DataRow> getDataRows()
Return Value
Type: List VisualEditor.DataRow
setContainsAllRows(containsAllRows)
Signature
public void setContainsAllRows(Boolean containsAllRows)
Parameters
- containsAllRows
- Type: Boolean
- Indicates if all values of the picklist are included in a type-ahead search query (true) or only those values initially displayed when the list is clicked on (false).
- A picklist in a Lightning component can display only the first 200 values of a list. If containsAllRows is set to false, when a user does a type-ahead search to find values in the picklist, the search will only look at those first 200 values that were displayed, not the complete set of picklist values.
Return Value
Type: void