TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > Crosstab > CrosstabValue > Method >

 

SetLinkToc

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > Crosstab > CrosstabValue > Method >

 

SetLinkToc

 

 

Set TOC label.

 

 

 

Prototype :

 

void SetLinkToc

(

        string TocPath

)

 

 

 

Arguments :

 

TocPath

path of the TOC label

Using "/" as the separator

set in the form of "report_template_name/level1/level2/.../leveln"

 

 

 

Reference :

 

Give each TOC label the level corresponding to its position in the report tree.

 

 

 

Example :

 

//the report template name in the report tree is 'FORCS'.

//set toc link to 'Seoul' under 'Region'

  This.SetLinkToc("FORCS/Region/Seoul");

 

 

 

Available Events :

 

OnAddToPage,  OnBind,  OnEndBind,  OnInitialize,  OnStartBind