ViewSelector methods (Client API reference)
Provides methods to get or set information about the view selector of the subgrid control. If the subgrid control is not configured to display the view selector, calling the ViewSelector methods will throw an error.
ViewSelector is returned by the gridContext.getViewSelector method.
var viewSelector = gridContext.getViewSelector();
Methods
Name | Description | Available for |
---|---|---|
getCurrentView | Gets a reference to the current view. | Read-only grid |
isVisible | Returns a boolean value to indicate whether the view selector is visible. | Read-only grid |
setCurrentView | Sets the current view. | Read-only grid |
Related articles
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor