Mark K - Hi I'm trying to set dataPanelCustomGr...
Hi I'm trying to set dataPanelCustomGroupsAccordionInitialState per thoughtspot.cloud/#/develop/documentation/en/?pageid=Interface_SearchViewConfig.
Trying to import DataPanelCustomColumnGroupsAccordionState, but this type does not seem to be exported from the react SDK. Am I supposed to do something different?
3 Replies
hey @Mark K ,
looks like a miss in sdk , we will update the sdk
meanwhile @Mark K to get unblocked immediately can use this (might have to typecase this to any first)
/
* Define the initial state os column custom group accordions
* in data panel v2.
*/
export enum DataPanelCustomColumnGroupsAccordionState {
/
* Expand all the accordion initially in data panel v2.
*/
EXPAND_ALL = 'EXPAND_ALL',
/
* Collapse all the accordions initially in data panel v2.
*/
COLLAPSE_ALL = 'COLLAPSE_ALL',
/
* Expand the first accordion and collapse the rest.
*/
EXPAND_FIRST = 'EXPAND_FIRST',
}
Solution
@Mark K We have updated the sdk with the fix, please update at your end.
Perfect, thank you!