【问题标题】:how to get pinned row data in react AG-grid如何在 React AG-grid 中获取固定的行数据
【发布时间】:2018-12-27 10:28:20
【问题描述】:

我在我的反应应用程序中使用 ag-grid-react 并在表格中固定了一行。我想更新固定行中的列值。怎么做?

【问题讨论】:

    标签: reactjs ag-grid-react


    【解决方案1】:

    要将固定的行放入您的网格,请设置pinnedTopRowDatapinnedBottomRowData,方法与将普通数据设置为rowData 的方法相同。

    创建网格后,您可以通过调用api.setPinnedTopRowData(rows)setPinnedBottomRowData(rows) 来更新固定的行。

    【讨论】:

      猜你喜欢
      • 2021-03-02
      • 2020-03-06
      • 2020-02-24
      • 1970-01-01
      • 2022-07-24
      • 2017-09-18
      • 2020-05-31
      • 2017-09-18
      • 1970-01-01
      相关资源
      最近更新 更多