updateListPreferences
Use this wire adapter to update the preferences for a list view.
See Update List View Metadata.
objectApiName
—(Required) The API name of a supported object.listViewApiName
–(Required) The API name of a list view, such asAllAccounts
.columnWidths
—The column-width preferences for the list.columnWrap
—The column-wrapping preferences for the list.listReference
—The reference information for the list.orderedBy
—The ordering preference for the list.
data
—List Infoerror
–FetchResponse
This code example updates a list view’s preferences and displays the updated values.
See Also
- Understand the Wire Service
- Handle Errors in Lightning Data Service
- Salesforce Objects Supported by lightning/ui*Api Modules