cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
saitcopuroglu
Level IV

HTML5: how to set column width, how to wrap text to specified px

Dear Community,

 

Working a lot with interactive html output, attached file has colums which are much wider than needed and the column named "text" needs wrapping (too long).  Could I do that with JSL? 

Screen Shot 2017-06-20 at 22.47.42.png

3 REPLIES 3
txnelson
Super User

Re: HTML5: how to set column width, how to wrap text to specified px

I am not aware of how to set the cell width for a character column, however, you can set the cell height, which effectively will wrap the cell values.

Jim

Re: HTML5: how to set column width, how to wrap text to specified px

Could you use the Set Field Width or Set Display Width data column messages in this case?

saitcopuroglu
Level IV

Re: HTML5: how to set column width, how to wrap text to specified px

This is an ongoing question for me since 2014 and till today I could not find a solution.

https://community.jmp.com/t5/Discussions/command-line-for-html5-CSS-wrapping-the-table-to-screen-wid...

I wish I could set the CSS commands inside JMP Settings so I could control the html output (table style, background color, fonts.... these three I can do after exporting the html file and later editing the CSS but setting wrap width and setting columns to the width of the data, I could not find....

 

How could I impement a data column message in a JSL?

And how do I set the column height?

The script for the table box is:

 

nw = New Window( "ALL COMMENTS",

     Table Box(

        Data Table Col Box( :QUESTION ),

        Data Table Col Box( :Text ),

        Data Table Col Box( :CInDate ),

        Data Table Col Box( :COutDate ),

        Data Table Col Box( :Lastname ),

        Data Table Col Box( :Firstname ),

        Data Table Col Box( :COUNTRY ),

        Data Table Col Box( :Agency ),

        Data Table Col Box( :Room ),

        Data Table Col Box( :RoomType ),

        Data Table Col Box( :EntryId )

    )

);

 

Many thanks in advance