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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈