cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
lala
Level VII

How to set the number of characters in a specified column by JSL?

I tried this JSL,

column("")<<Set Display Width(50);

but it does change the width of the column.It does not change the number of characters displayed.

2021-03-06_21-58-27.png
Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How to set the number of characters in a specified column by JSL?

Get the table script from red triangle next to data table name and check how format is set and by using that information you should be able to do the change.

 

 

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt:weight << Format("Fixed Dec", 2, 0);

 

 

-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: How to set the number of characters in a specified column by JSL?

Get the table script from red triangle next to data table name and check how format is set and by using that information you should be able to do the change.

 

 

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt:weight << Format("Fixed Dec", 2, 0);

 

 

-Jarmo
lala
Level VII

Re: How to set the number of characters in a specified column by JSL?

Thanks!