<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to &amp;quot;lock&amp;quot; single column width in JMP in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-quot-lock-quot-single-column-width-in-JMP/m-p/8233#M8227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a "On Open" table script that will be run each time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run the code below to add the table script (or add it manually) to your table. Make sure to first change the column name to the name of your column and pick a display width that fits your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 17px; font-family: Courier; color: #032ce4;"&gt;Current Data Table&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;()&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;New Script&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 17px; font-family: Courier; color: #942193;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;"OnOpen"&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 17px; font-family: Courier; color: #011993;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;:&lt;SPAN style="color: #032ce4;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #942193;"&gt;"Col1"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;/SPAN&gt;&amp;lt;&amp;lt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;Set Display Width&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;400&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 17px; font-family: Courier;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Mar 2014 18:41:14 GMT</pubDate>
    <dc:creator>ms</dc:creator>
    <dc:date>2014-03-20T18:41:14Z</dc:date>
    <item>
      <title>How to "lock" single column width in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-quot-lock-quot-single-column-width-in-JMP/m-p/8230#M8224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a single column (Data Type &amp;gt; Character) in JMP file (using 10 Pro) that requires extremely long character strings. Unlike Excel, I cannot find a simple way to "lock" the column width, which results in auto-resizing the column to massive widths upon reopening the file, entering new text, etc. Note: I do not want to use the actual Lock feature (under Column Info), as I need to constantly make updates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 01:56:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-quot-lock-quot-single-column-width-in-JMP/m-p/8230#M8224</guid>
      <dc:creator>optflow</dc:creator>
      <dc:date>2014-03-20T01:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to "lock" single column width in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-quot-lock-quot-single-column-width-in-JMP/m-p/8231#M8225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that you can't do it from UI. However, from JSL, we can control the column display width. I am using JMP11 and not sure if GetDisplayWidth and SetDisplayWidth commands are in JMP10. See script below. The display width reduced from default 70 to 35.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//JSL&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000dd; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;SPAN style="color: #575757; font-family: Arial;"&gt;dt = &lt;/SPAN&gt;New Table&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: purple; font-family: 'Courier New'; font-size: 10pt;"&gt;"test"&lt;/SPAN&gt;&lt;SPAN style="color: navy; font-family: 'Courier New'; font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;Add Rows&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: navy; font-family: 'Courier New'; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000dd; font-family: 'Courier New'; font-size: 10pt;"&gt;New Column&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: purple; font-family: 'Courier New'; font-size: 10pt;"&gt;"Col1"&lt;/SPAN&gt;&lt;SPAN style="color: navy; font-family: 'Courier New'; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; Character&lt;/SPAN&gt;&lt;SPAN style="color: navy; font-family: 'Courier New'; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;Formula&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000dd; font-family: 'Courier New'; font-size: 10pt;"&gt;Repeat&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: purple; font-family: 'Courier New'; font-size: 10pt;"&gt;"a"&lt;/SPAN&gt;&lt;SPAN style="color: navy; font-family: 'Courier New'; font-size: 10pt;"&gt;,&lt;/SPAN&gt; &lt;STRONG style="color: teal; font-size: 10pt; font-family: 'Courier New';"&gt;100&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: navy; font-family: 'Courier New'; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: black; font-size: 10pt; font-family: 'Courier New';"&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: navy; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;SPAN style="color: #0000dd;"&gt;w=:Col1&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: navy; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;STRONG style="color: navy; font-size: 10pt; font-family: 'Courier New';"&gt;GetDisplayWidth&lt;/STRONG&gt;&lt;SPAN style="color: navy; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: navy; line-height: 107%; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;SPAN style="color: #000000;"&gt;:Col1 &lt;/SPAN&gt;&amp;lt;&amp;lt;&lt;STRONG&gt;SetDisplayWidth&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: black; line-height: 107%; font-family: 'Courier New'; font-size: 10pt;"&gt;(w/2&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 107%; font-family: 'Courier New'; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: navy; line-height: 107%; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 15:08:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-quot-lock-quot-single-column-width-in-JMP/m-p/8231#M8225</guid>
      <dc:creator>Hui_Di</dc:creator>
      <dc:date>2014-03-20T15:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to "lock" single column width in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-quot-lock-quot-single-column-width-in-JMP/m-p/8232#M8226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the response. Unfortunately, I have almost no experience with JSL scripts. Can you please explain how to go about inserting this script into a column? My attempts so far have generated errors or simply failed to do anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 16:27:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-quot-lock-quot-single-column-width-in-JMP/m-p/8232#M8226</guid>
      <dc:creator>optflow</dc:creator>
      <dc:date>2014-03-20T16:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to "lock" single column width in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-quot-lock-quot-single-column-width-in-JMP/m-p/8233#M8227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a "On Open" table script that will be run each time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run the code below to add the table script (or add it manually) to your table. Make sure to first change the column name to the name of your column and pick a display width that fits your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 17px; font-family: Courier; color: #032ce4;"&gt;Current Data Table&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;()&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;New Script&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 17px; font-family: Courier; color: #942193;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;"OnOpen"&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 17px; font-family: Courier; color: #011993;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;:&lt;SPAN style="color: #032ce4;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #942193;"&gt;"Col1"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;/SPAN&gt;&amp;lt;&amp;lt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;Set Display Width&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;400&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 17px; font-family: Courier;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 18:41:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-quot-lock-quot-single-column-width-in-JMP/m-p/8233#M8227</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2014-03-20T18:41:14Z</dc:date>
    </item>
  </channel>
</rss>

