<?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 Tree Control column widths in G Web Development Software</title>
    <link>https://ni.lithium.com/t5/G-Web-Development-Software/Tree-Control-column-widths/m-p/4185190#M97</link>
    <description>&lt;P&gt;Is there a way, other than html or CSS or whatever, to programmatically control the width of the columns in a tree control?&lt;/P&gt;
&lt;P&gt;Or, at the very least, make them stay the way they were when the gviweb was last saved?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Oct 2021 00:48:24 GMT</pubDate>
    <dc:creator>Mihai</dc:creator>
    <dc:date>2021-10-14T00:48:24Z</dc:date>
    <item>
      <title>Tree Control column widths</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Tree-Control-column-widths/m-p/4185190#M97</link>
      <description>&lt;P&gt;Is there a way, other than html or CSS or whatever, to programmatically control the width of the columns in a tree control?&lt;/P&gt;
&lt;P&gt;Or, at the very least, make them stay the way they were when the gviweb was last saved?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 00:48:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Tree-Control-column-widths/m-p/4185190#M97</guid>
      <dc:creator>Mihai</dc:creator>
      <dc:date>2021-10-14T00:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Tree Control column widths</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Tree-Control-column-widths/m-p/4188115#M107</link>
      <description>&lt;P&gt;Hello Mihai, I ran into the same issue.&amp;nbsp; There is no property that allows a user to control the column width.&amp;nbsp; I created a simple project that only contained a tree control with 5 columns and a while loop. When the app runs the columns all seem to resize to some default value.&amp;nbsp; I found a work around by modifying a section of "index.gviweb".&amp;nbsp; There is a section called &amp;lt;TreeControl&amp;gt; in my example that started out as&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&amp;lt;TreeControl AllowSelection="[bool]False" BaseName="[string]Tree" ColumnHeaderVisibility="[SMVisibility]Visible" DataSource="{DataItemBinding Id=aa169a27c19542869751fefd38f35cf7}" DataSourceType="[Type]@8bfd7e5a29ba4234a66c12b3982cdcf3" Height="[float]408" Id="4423087e78a84b03b30d41c02d8c3956" Label="[UIModel]55475799827f44639a60c47736385c85" LabelLinked="[bool]True" Left="[float]132" SelectionMode="[SMTreeSelectionMode]One" TabIndex="[int]0" Top="[float]148" Width="[float]280" xmlns="&lt;A href="http://www.ni.com/Controls.LabVIEW.Design" target="_blank"&gt;http://www.ni.com/Controls.LabVIEW.Design&lt;/A&gt;"&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&amp;lt;TabularControlColumn Id="48f4cc0802e04b998b929b66c8a0c7f3" Width="[double]NaN" /&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&amp;lt;TabularControlColumn Id="f4b4fce13a7244bc9b5eb0573c8b0863" /&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&amp;lt;TabularControlColumn Id="1546b828b06f4ca8908206ea2bd9ddfa" /&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&amp;lt;TabularControlColumn Id="93751ed4c96b409fa01e767e8e74436b" /&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&amp;lt;TabularControlColumn Id="7c44f8eb2ccb4453bb42d8227b689c5e" /&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&amp;lt;FontSetting FontFamily="Segoe UI" FontSize="9" Id="8797b0637f9b48f8b8347b170e9a93a8" xmlns="&lt;A href="http://www.ni.com/PlatformFramework" target="_blank"&gt;http://www.ni.com/PlatformFramework&lt;/A&gt;" /&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&amp;lt;/TreeControl&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;I modified all of the &amp;lt;TabularControlColumn Id.......&amp;gt; sections to &amp;lt;TabularControlColumn Id...... &lt;STRONG&gt;"Width=[double]50"&lt;/STRONG&gt;/&amp;gt; to set my column to 50 px wide. Saved and reloaded the project and now all of the columns are the size I want.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 13:40:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Tree-Control-column-widths/m-p/4188115#M107</guid>
      <dc:creator>PCKOST</dc:creator>
      <dc:date>2021-10-27T13:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Tree Control column widths</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Tree-Control-column-widths/m-p/4188931#M114</link>
      <description>&lt;P&gt;I suppose I should have posted here the solution I found, sorry to be so slack.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found on GitHub Milan's web vi's experiments &lt;A href="https://github.com/rajsite/webvi-experiments" target="_blank"&gt;https://github.com/rajsite/webvi-experiments&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I picked up from there a JavaScript which I incorporated in my application and now I can set my tree control's columns programmatically. It should work for everyone else.&lt;/P&gt;</description>
      <pubDate>Sun, 31 Oct 2021 02:52:20 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Tree-Control-column-widths/m-p/4188931#M114</guid>
      <dc:creator>Mihai</dc:creator>
      <dc:date>2021-10-31T02:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Tree Control column widths</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Tree-Control-column-widths/m-p/4189824#M115</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/14143"&gt;@Mihai&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I suppose I should have posted here the solution I found, sorry to be so slack.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found on GitHub Milan's web vi's experiments &lt;A href="https://github.com/rajsite/webvi-experiments" target="_blank" rel="noopener"&gt;https://github.com/rajsite/webvi-experiments&lt;/A&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I see, thank you for the link,&lt;BR /&gt;I also learn a lot from the following link&amp;nbsp;&lt;A href="https://laptrinhx.com/a-curated-list-of-awesome-webvis-3830735135/" target="_self"&gt;A curated list of awesome WebVIs | LaptrinhX&lt;/A&gt;&amp;nbsp;also belongs to&amp;nbsp;&lt;A id="link_b89b7e48538bbc" class="lia-link-navigation lia-page-link lia-user-name-link" title="MilanR" href="https://forums.ni.com/t5/user/viewprofilepage/user-id/209702" target="_self" aria-label="View Profile of MilanR"&gt;Raj Milan&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 04:40:36 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Tree-Control-column-widths/m-p/4189824#M115</guid>
      <dc:creator>ThamS</dc:creator>
      <dc:date>2021-11-04T04:40:36Z</dc:date>
    </item>
  </channel>
</rss>

