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
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de