<?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 How to make table cells line up within a table in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-make-table-cells-line-up-within-a-table/m-p/810022#M6392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Almost everywhere else table cells are equally wide within a column. It doesn't work like this in my WAB widget. I suppose that's some bug/ feature in Jimu or in JS API, though it might have been triggered by &lt;A _jive_internal="true" href="https://community.esri.com/thread/166978"&gt;integration into MVC&lt;/A&gt;​. It's the same for table tag and for divs with display:table. Do it need to be div with some specific class, except for a custom one? One possible solution would be to set the width values, but this might make it ugly for column names much bigger/smaller than expected and making this part of CSS code locale-dependent is a lot of work. So how can I base the cell width on the widest content in the column?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jun 2016 11:52:40 GMT</pubDate>
    <dc:creator>PavelVeselský1</dc:creator>
    <dc:date>2016-06-08T11:52:40Z</dc:date>
    <item>
      <title>How to make table cells line up within a table</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-make-table-cells-line-up-within-a-table/m-p/810022#M6392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Almost everywhere else table cells are equally wide within a column. It doesn't work like this in my WAB widget. I suppose that's some bug/ feature in Jimu or in JS API, though it might have been triggered by &lt;A _jive_internal="true" href="https://community.esri.com/thread/166978"&gt;integration into MVC&lt;/A&gt;​. It's the same for table tag and for divs with display:table. Do it need to be div with some specific class, except for a custom one? One possible solution would be to set the width values, but this might make it ugly for column names much bigger/smaller than expected and making this part of CSS code locale-dependent is a lot of work. So how can I base the cell width on the widest content in the column?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 11:52:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-make-table-cells-line-up-within-a-table/m-p/810022#M6392</guid>
      <dc:creator>PavelVeselský1</dc:creator>
      <dc:date>2016-06-08T11:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to make table cells line up within a table</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-make-table-cells-line-up-within-a-table/m-p/810023#M6393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did it through min-width:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.jimu-widget-myWidget #main-form-table {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 100%;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; min-width: 300px;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.jimu-widget-myWidget .col-head {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; min-width:100px;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.jimu-widget-myWidget .col-cell {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; min-width:200px;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way the table looks like a table and it won't break if something is too long.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 13:55:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-make-table-cells-line-up-within-a-table/m-p/810023#M6393</guid>
      <dc:creator>PavelVeselský1</dc:creator>
      <dc:date>2016-06-21T13:55:18Z</dc:date>
    </item>
  </channel>
</rss>

