报表组 / 填报表组 JS 函数

阅读(2188) 标签: 报表组, 填报表组,

group_closeSheet(groupId, which)

描述:

关闭隐藏某个sheet

举例:

<raqsoft:input id=" group1"

src="/input/Tutorial/5.1.sht" //src为填报表组路径文件名,使用填报教程中的例子5.1.sht

paramMode="i"

theme="bootstrap"

needImportEasyui="yes"

fixedHeader="yes"

width="100%"

height="100%"

tabLocation="top"

adp="no"

exceptionPage="myError.jsp"

/>

<script language="javascript">

group_closeSheet( " group1", 1);

</script>

 

group_selectSheet(groupId, which)

描述:

选择显示某个sheet

举例:

<raqsoft:input id=" group1"

src="/input/Tutorial/5.1.sht" //src为填报表组路径文件名,使用填报教程中的例子5.1.sht

paramMode="i"

theme="bootstrap"

needImportEasyui="yes"

fixedHeader="yes"

width="100%"

height="100%"

tabLocation="top"

adp="no"

exceptionPage="myError.jsp"

/>

<script language="javascript">   

group_selectSheet( " group1", 1);

</script>

 

group_getSheetTitle(groupId, which)

描述:

获取某个sheet的标题。

举例:

<raqsoft:input id=" group1"

src="/input/Tutorial/5.1.sht" //src为填报表组路径文件名,使用填报教程中的例子5.1.sht

paramMode="i"

theme="bootstrap"

needImportEasyui="yes"

fixedHeader="yes"

width="100%"

height="100%"

tabLocation="top"

adp="no"

exceptionPage="myError.jsp"

/>

<script language="javascript">

group_getSheetTitle( " group1", 1);

</script>

 

group_getCurrSheetTitle(groupId)

描述:

获取当前sheet的标题。

举例:

<raqsoft:input id=" group1"

src="/input/Tutorial/5.1.sht" //src为填报表组路径文件名,使用填报教程中的例子5.1.sht

paramMode="i"

theme="bootstrap"

needImportEasyui="yes"

fixedHeader="yes"

width="100%"

height="100%"

tabLocation="top"

adp="no"

exceptionPage="myError.jsp"

/>

<script language="javascript">

group_getCurrSheetTitle( " group1");

</script>

 

group_getSheetId(groupId, which)

描述:

获取某个sheetid

举例:

<raqsoft:input id=" group1"

src="/input/Tutorial/5.1.sht" //src为填报表组路径文件名,使用填报教程中的例子5.1.sht

paramMode="i"

theme="bootstrap"

needImportEasyui="yes"

fixedHeader="yes"

width="100%"

height="100%"

tabLocation="top"

adp="no"

exceptionPage="myError.jsp"

/>

<script language="javascript">

group_getSheetId( " group1", 1);

</script>

 

group_getCurrSheetId(groupId)

描述:

获取当前sheetid

举例:

<raqsoft:input id=" group1"

src="/input/Tutorial/5.1.sht" //src为填报表组路径文件名,使用填报教程中的例子5.1.sht

paramMode="i"

theme="bootstrap"

needImportEasyui="yes"

fixedHeader="yes"

width="100%"

height="100%"

tabLocation="top"

adp="no"

exceptionPage="myError.jsp"

/>

<script language="javascript">

group_getCurrSheetId( " group1");

</script>

 

group_closeSheets(groupId, list)

描述:

关闭隐藏报表组中的多个sheet

举例:

<report:group groupId="group1"

groupFileName="10基本报表/报表组.rpg"  //src为填报表组路径文件名,使用安装包自带的例子

funcBarLocation="no"

width="100%"

height="100%"

exceptionPage="/reportJsp/myError2.jsp"

needImportEasyui="no"

sheetAlign="center"

/>

<script language="javascript">

$(function(){

group_closeSheets( "group1",[0,1]);

 });

</script>