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
View Original Published Thread

How to adjust the width of the left panel and the row number panel and the height of the script panel in the data table with script?

lala
Level VIII

Hello everyone!

How to adjust the width of the left panel and the row number panel and the height of the script panel in the data table with script?

Thanks!

undefined

This post originally written in Chinese (Simplified) and has been translated for your convenience. When you reply, it will also be translated back to Chinese (Simplified).

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

Reply: How to adjust the width of the left panel and the row number panel and the height of the script panel in the data table with script?

I didn't get an answer in script searches.

undefined

This post originally written in Chinese (Simplified) and has been translated for your convenience. When you reply, it will also be translated back to Chinese (Simplified).

lala
Level VIII

Reply: How to adjust the width of the left panel and the row number panel and the height of the script panel in the data table with script?

I searched the community and came across this answer.

But it can only adjust the width of the left panel.

Not sure how to adjust its height.

 

Using a script to change the width of the line number panel is still unanswered.

This post originally written in Chinese (Simplified) and has been translated for your convenience. When you reply, it will also be translated back to Chinese (Simplified).

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