<?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: Dynamic Grid Column Width in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Dynamic-Grid-Column-Width/m-p/989024#M68636</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of auto width you may try &lt;STRONG&gt;Custom Width&lt;/STRONG&gt;&amp;nbsp;for the particular column and allocate max possible width in px or %.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2024 05:48:33 GMT</pubDate>
    <dc:creator>javed_a</dc:creator>
    <dc:date>2024-12-16T05:48:33Z</dc:date>
    <item>
      <title>Dynamic Grid Column Width</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Dynamic-Grid-Column-Width/m-p/986092#M68446</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to adjust the grid column width to fit the maximum text/Icons size it contains. I want to remove the extra space from the column, as shown red box in the image below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SZ_10833245_0-1732786455913.png" style="width: 755px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/114889i2A47310683E03BC3/image-dimensions/755x168?v=v2" width="755" height="168" role="button" title="SZ_10833245_0-1732786455913.png" alt="SZ_10833245_0-1732786455913.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, I have set column width to 'Auto' but it is not working.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SZ_10833245_1-1732786597961.png" style="width: 352px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/114890i7A232FE73927E421/image-dimensions/352x237?v=v2" width="352" height="237" role="button" title="SZ_10833245_1-1732786597961.png" alt="SZ_10833245_1-1732786597961.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suraj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 09:39:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Dynamic-Grid-Column-Width/m-p/986092#M68446</guid>
      <dc:creator>SZ_10833245</dc:creator>
      <dc:date>2024-11-28T09:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Grid Column Width</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Dynamic-Grid-Column-Width/m-p/986599#M68506</link>
      <description>&lt;P&gt;Hello &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/760835"&gt;@SZ_10833245&lt;/a&gt;&lt;/SPAN&gt; , &amp;nbsp;&lt;BR /&gt;Setting the width of a column in a grid is a complex process.&amp;nbsp;&lt;BR /&gt;The space allocated for the grid is divided among the display columns. The size of the titles, can make a column wider is some cases.&lt;/P&gt;
&lt;P&gt;The UI will not leave blank space at the end of the grid. The grid will be expanded to fill the space allocated. In general the last column will be wider to fill in the space.&lt;BR /&gt;In some cases the space will be spread across all the columns to give an eye pleasing distribution.&amp;nbsp;&lt;BR /&gt;Where would you have the space which is removed from the "Content Type" column added?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Pehowe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 19:55:46 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Dynamic-Grid-Column-Width/m-p/986599#M68506</guid>
      <dc:creator>PEHOWE</dc:creator>
      <dc:date>2024-12-02T19:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Grid Column Width</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Dynamic-Grid-Column-Width/m-p/986655#M68512</link>
      <description>&lt;P&gt;Hello &lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/302903"&gt;@PEHOWE&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your reply &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The values in the 'Content Type' column are dynamic, meaning the number of icons it contains is not fixed. The column width shall be dynamically adapted to the maximum number of icons over all rows. The space that is removed from the 'Content Type' column can be added to the 'Description' column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suraj&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 06:15:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Dynamic-Grid-Column-Width/m-p/986655#M68512</guid>
      <dc:creator>SZ_10833245</dc:creator>
      <dc:date>2024-12-03T06:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Grid Column Width</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Dynamic-Grid-Column-Width/m-p/986783#M68529</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/760835"&gt;@SZ_10833245&lt;/a&gt;&amp;nbsp;, If you want comeplete control over the grid in runtime, you may look for JSON based configuration using a service. But this will definitely increase the complexity of your app, but you can customize the app as per you need. I persoanlly use that in one of my project is and really helpful do configure the grid, entirely from backend.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 13:29:43 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Dynamic-Grid-Column-Width/m-p/986783#M68529</guid>
      <dc:creator>Bikash_Panda</dc:creator>
      <dc:date>2024-12-03T13:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Grid Column Width</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Dynamic-Grid-Column-Width/m-p/986796#M68530</link>
      <description>&lt;P&gt;Hello &lt;SPAN style="color:var(--ck-color-mention-text);"&gt;&lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/760835"&gt;@SZ_10833245&lt;/a&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; ,&lt;BR /&gt;To get the look which you are looking for the approach described by &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/314364"&gt;@Bikash_Panda&lt;/a&gt;&lt;/SPAN&gt; may be the best.&lt;BR /&gt;The &lt;STRONG&gt;Article - &lt;/STRONG&gt;&lt;A href="https://www.ptc.com/en/support/article/CS391327" target="_blank"&gt;&lt;STRONG&gt;CS391327 - &lt;/STRONG&gt;Edit a ptcs-grid created with a dynamic configuration in ThingWorx Platform&lt;/A&gt; has a discussion and a link to the online help documentation.&amp;nbsp;&lt;BR /&gt;In your original post, you set the column width to Auto. How do you expect the column widths to be set?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pehowe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 14:39:11 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Dynamic-Grid-Column-Width/m-p/986796#M68530</guid>
      <dc:creator>PEHOWE</dc:creator>
      <dc:date>2024-12-03T14:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Grid Column Width</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Dynamic-Grid-Column-Width/m-p/988843#M68630</link>
      <description>&lt;P&gt;Hello &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/760835"&gt;@SZ_10833245&lt;/a&gt;&lt;/SPAN&gt; ,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I understand that the column widths in the grid are not being set as you desire. The option you have selected "Auto-Width" &amp;nbsp;is described in the on line documentation &lt;A href="https://support.ptc.com/help/thingworx/platform/r9.7/en/?_gl=1*17xhiuu*_gcl_au*MTIxOTE4MDIwMS4xNzMzMjQ2MDgx*_ga*MTk3MzI4ODIzNS4xNzMzMjQ2MDgx*_ga_7NMP2MSYPM*MTczNDA5NjE5MS4xOS4xLjE3MzQxMDIxNjAuNTkuMC4w*_ga_CBN5QVB9VJ*MTczNDA5NjU0Ny4zMy4xLjE3MzQxMDIxNTkuMC4wLjA.#page/ThingWorx/Help/Mashup_Builder/Widgets/Grid_ConfiguringGridColumns.html" target="_blank"&gt;Configuring Grid Columns&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:rgb(39,39,40);font-size:15px;"&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Column Width&lt;/STRONG&gt;—Sets the column width. By default, the available space is divided equally between &lt;/SPAN&gt;&lt;SPAN style="background-color:yellow;color:rgb(39,39,40);font-size:15px;"&gt;columns.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This explains why the column you have identified is wider then you expect.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please post if this resolves the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;pehowe&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 15:24:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Dynamic-Grid-Column-Width/m-p/988843#M68630</guid>
      <dc:creator>PEHOWE</dc:creator>
      <dc:date>2024-12-13T15:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Grid Column Width</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Dynamic-Grid-Column-Width/m-p/989024#M68636</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of auto width you may try &lt;STRONG&gt;Custom Width&lt;/STRONG&gt;&amp;nbsp;for the particular column and allocate max possible width in px or %.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 05:48:33 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Dynamic-Grid-Column-Width/m-p/989024#M68636</guid>
      <dc:creator>javed_a</dc:creator>
      <dc:date>2024-12-16T05:48:33Z</dc:date>
    </item>
  </channel>
</rss>

