<?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 deselect the columns that are assigned to Col List Box using Remove Selection Command in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-deselect-the-columns-that-are-assigned-to-Col-List-Box/m-p/672684#M86035</link>
    <description>&lt;P&gt;If you want to deselect column, you should use &amp;lt;&amp;lt; Set Selected or &amp;lt;&amp;lt; Clear Selection (&amp;lt;&amp;lt; Remove Selected will remove the item, not deselect).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
New Window("Col List Box Example",
	lb = Col List Box(all, width(250), maxSelected(1)),
);
wait(1);
lb &amp;lt;&amp;lt; Set Selected(2);
wait(1);
lb &amp;lt;&amp;lt; Remove Selected();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Scripting Index does have examples how these can be used and there is documentation on &lt;A href="https://www.jmp.com/support/help/en/17.0/#page/jmp/construct-display-boxes-for-new-windows.shtml#ww496888" target="_blank" rel="noopener"&gt;JMP Help's Scripting Guide&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Aug 2023 17:23:28 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-08-30T17:23:28Z</dc:date>
    <item>
      <title>How to deselect the columns that are assigned to Col List Box using Remove Selection Command</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-deselect-the-columns-that-are-assigned-to-Col-List-Box/m-p/672653#M86034</link>
      <description>&lt;P&gt;I have assigned a column to X Col Box(Col List Box) and on clicking the Remove Button I need to deselect the column that I assigned to it.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;On X = Function({},
	X Col Box &amp;lt;&amp;lt; Append(Cols List &amp;lt;&amp;lt; Get Selected)
);

On Remove = Function({},
	X Col Box &amp;lt;&amp;lt; Remove selected;
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Aug 2023 17:18:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-deselect-the-columns-that-are-assigned-to-Col-List-Box/m-p/672653#M86034</guid>
      <dc:creator>Vinusha</dc:creator>
      <dc:date>2023-08-30T17:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to deselect the columns that are assigned to Col List Box using Remove Selection Command</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-deselect-the-columns-that-are-assigned-to-Col-List-Box/m-p/672684#M86035</link>
      <description>&lt;P&gt;If you want to deselect column, you should use &amp;lt;&amp;lt; Set Selected or &amp;lt;&amp;lt; Clear Selection (&amp;lt;&amp;lt; Remove Selected will remove the item, not deselect).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
New Window("Col List Box Example",
	lb = Col List Box(all, width(250), maxSelected(1)),
);
wait(1);
lb &amp;lt;&amp;lt; Set Selected(2);
wait(1);
lb &amp;lt;&amp;lt; Remove Selected();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Scripting Index does have examples how these can be used and there is documentation on &lt;A href="https://www.jmp.com/support/help/en/17.0/#page/jmp/construct-display-boxes-for-new-windows.shtml#ww496888" target="_blank" rel="noopener"&gt;JMP Help's Scripting Guide&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 17:23:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-deselect-the-columns-that-are-assigned-to-Col-List-Box/m-p/672684#M86035</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-08-30T17:23:28Z</dc:date>
    </item>
  </channel>
</rss>

