Mobile API Reference  MicroStrategy 2019
<WidgetGridSwitchProtocol> Protocol Reference

#import <IViewer.h>

Inheritance diagram for <WidgetGridSwitchProtocol>:
MSIWidgetViewer MSIMapWidgetViewer

Instance Methods

(void) - quickSwitchToGrid
 
(void) - quickSwitchToWidget
 
(void) - cleanViews
 
(void) - recreateWidget
 
(BOOL- finishedFirstRendering
 
(void) - requestSecondaryDataModel:
 

Method Documentation

◆ cleanViews()

- (void) cleanViews

clean the views of the widget to save memory usually be called before recreateWidget or when the widget is deleted

◆ finishedFirstRendering()

- (BOOL) finishedFirstRendering

◆ quickSwitchToGrid()

- (void) quickSwitchToGrid

switch the widget to grid, could be overridden to define different behavior from default one

◆ quickSwitchToWidget()

- (void) quickSwitchToWidget

switch the grid back to widget, override to provide different implemtation, else just follow the default behavior which is recreate the widget

◆ recreateWidget()

- (void) recreateWidget

could be called during initializing phase, or be called on layout/panel change, before switch grid back to widget, or be selected by the source, etc

◆ requestSecondaryDataModel:()

- (void) requestSecondaryDataModel: (NSString *)  nodeKey