cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Choose Language Hide Translation Bar
lala
Level VIII

如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

大家好!

如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

谢谢!

2022-03-27_15-56-36.png

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

回复: 如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

I think that SplitterBox doesn't control the height. You can try to test this with

sp << get xml

and maybe see which values to change (if they can be changed)

jthi_0-1648458251508.png

 

Row "column" width can be adjusted with

dt << Set Row ID Width(15);

Search scripting index for DataBrowserBox for possibly more suggestions

-Jarmo

View solution in original post

5 REPLIES 5
lala
Level VIII

回复: 如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

我在脚本搜索中没有得到答案。

2022-03-27_16-02-37.png

lala
Level VIII

回复: 如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

我搜索了社区、看到了这个答案。

但也只是能调整左面板的宽度。

不知道如何能调整它的高度。

 

用脚本来改变行号面板的宽度还是没有答案。

lala
Level VIII

回复: 如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Wait( 0 );
window = Get Window( dt );
sp = window << Find( SplitterBox( 1 ) );
sp << Set Width( 65 );
lala
Level VIII

回复: 如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

It no work.

sp << Set height ( 200 );
jthi
Super User

回复: 如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

I think that SplitterBox doesn't control the height. You can try to test this with

sp << get xml

and maybe see which values to change (if they can be changed)

jthi_0-1648458251508.png

 

Row "column" width can be adjusted with

dt << Set Row ID Width(15);

Search scripting index for DataBrowserBox for possibly more suggestions

-Jarmo