Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/82.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 带粘性列的角度表使用Chrome,使用Firefox失败_Html_Css_Angular - Fatal编程技术网

Html 带粘性列的角度表使用Chrome,使用Firefox失败

Html 带粘性列的角度表使用Chrome,使用Firefox失败,html,css,angular,Html,Css,Angular,角粘性列在Firefox浏览器上不起作用,甚至文档中的示例也不起作用 带有粘性列的表示例: 名称 {{element.name} 不 {{element.position} 是否包含您问题的答案?我还没有检查答案,但似乎是同一个问题谢谢,但这是一个不同的问题。我已经使用了mat header单元格,它在chrome中运行良好,在Firefox中不起作用。 <div class="example-container mat-elevation-z8"> &l

角粘性列在Firefox浏览器上不起作用,甚至文档中的示例也不起作用

带有粘性列的表示例:


名称
{{element.name}
不
{{element.position}

是否包含您问题的答案?我还没有检查答案,但似乎是同一个问题谢谢,但这是一个不同的问题。我已经使用了mat header单元格,它在chrome中运行良好,在Firefox中不起作用。
<div class="example-container mat-elevation-z8">
  <table mat-table [dataSource]="dataSource">
    <ng-container matColumnDef="name" sticky>
      <th mat-header-cell *matHeaderCellDef> Name </th>
      <td mat-cell *matCellDef="let element"> {{element.name}} </td>
    </ng-container>
    <ng-container matColumnDef="position">
      <th mat-header-cell *matHeaderCellDef> No. </th>
      <td mat-cell *matCellDef="let element"> {{element.position}} </td>
    </ng-container>
  </table>
</div>