Expand
Expand or collapse tables
BOOL Expand( BOOL bExpand, BOOL bIsAll = true )
TRUE if success else FALSE.
EX1
//To see the result, please import Gaussian.dat and do nonlinear fit, then active the result table. void Grid_Expand_ex1(bool bExpand = true, bool bIsAll = true) { Worksheet wks = Project.ActiveLayer(); if(wks && wks.GetSystemParam(0) & WP_SHEET_HIERARCHY) { //expand tables Grid gg; gg.Attach(wks); gg.Expand(bExpand, bIsAll); } }
origin.h