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.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for