title: primeng table:p-table row grouping width not working when scrollable enable
body: <p>I am using primeng table with angular.Below is the code for using table:</p>
  
  <pre><code>&lt;p-table [value]="cars" dataKey="brand" [scrollable]="'true'" scrollHeight="400px"&gt;
      &lt;ng-template pTemplate="header"&gt;
          &lt;tr&gt;
              &lt;th style="width:50px"&gt;Vin&lt;/th&gt;
              &lt;th style="width:50px"&gt; Year&lt;/th&gt;
              &lt;th style="width:100px"&gt; Brand&lt;/th&gt;
              &lt;th&gt;Color&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/ng-template&gt;
      &lt;ng-template  pTemplate="body" let-rowData let-rowIndex="rowIndex" let-expanded="expanded" let-columns="columns"&gt;
          &lt;tr class="ui-widget-header" *ngIf="rowGroupMetadata2[rowData.brand].index === rowIndex"&gt;
              &lt;td colspan="4"&gt;
                  &lt;a href="#" [pRowToggler]="rowData"&gt;
                      &lt;i [ngClass]="expanded ? 'fa fa-fw fa-chevron-circle-down' : 'fa fa-fw fa-chevron-circle-right'"&gt;&lt;/i&gt;
                      &lt;span&gt;{{rowData.brand}}&lt;/span&gt;
                  &lt;/a&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/ng-template&gt;
      &lt;ng-template pTemplate="rowexpansion" let-rowData let-rowIndex="rowIndex"&gt;
          &lt;tr&gt;
              &lt;td&gt;{{rowData.vin}}&lt;/td&gt;
              &lt;td&gt;{{rowData.year}}&lt;/td&gt;
              &lt;td&gt;{{rowData.brand}}&lt;/td&gt;
              &lt;td&gt;{{rowData.color}}&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/ng-template&gt;
  &lt;/p-table&gt;
  </code></pre>
  
  <p>As you can see the code above, I want to use row group with scrollable property.On running the application I found that width is not working(header width is working only).Below is UI on running application:
  <a href="https://i.stack.imgur.com/hQTJl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hQTJl.png" alt="enter image description here"></a></p>
  
  <p>If I remove [scrollable] property from table, then width works you can see in below screen shot:
  <a href="https://i.stack.imgur.com/NzO3x.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NzO3x.png" alt="enter image description here"></a></p>