キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.

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

lala
Level VIII

大家好!

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

谢谢!

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

1 件の受理された解決策

受理された解決策
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

元の投稿で解決策を見る

5件の返信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