angular 如何在关闭和打开导航栏时调整 ngx-datatable 的大小

问题描述

在点击导航栏上的之前,<ngx-datatable> 看起来像这样

Before clicking on nav bar

点击导航栏后,它看起来像这样

Before clicking on nav bar

正如您在第二张图片中看到的,导航栏列在点击后没有调整大小。

这是代码

<ngx-datatable
  #table
  class="material"
  [rows]="data"
  [loadingIndicator]="loadingIndicator"
  columnMode="force"
  [headerHeight]="60"
  [footerHeight]="80"
  rowHeight="auto"
  [limit]="10"
  [scrollbarH]="scrollBarHorizontal"
  [reorderable]="reorderable"
  [selected]="selected"
  [selectionType]="'checkBox'"
  (select)="onSelect($event)"
>

我寻求帮助,但找不到解决方案。谢谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)