gpt4 book ai didi

ag-grid - 在 ag-grid 中,服务器端模型是否支持状态栏?

转载 作者:行者123 更新时间:2023-12-04 15:54:02 25 4
gpt4 key购买 nike

我创建了以下 Plunkr:

https://plnkr.co/edit/UX7qeeul5SfWXtV9rYcf?p=preview

并添加了以下代码:

  statusBar: {
statusPanels: [
{ statusPanel: 'agFilteredRowCountComponent' },
{ statusPanel: 'agSelectedRowCountComponent' },
{ statusPanel: 'agAggregationComponent' }
]
},

来自:

https://www.ag-grid.com/javascript-grid-status-bar/#example-status-bar-simple

但是,我没有收到状态栏。

服务器端模型是否支持它们?

最佳答案

这似乎是默认 statusPanel 的问题。

因为我已经检查过自定义并且它有效,here is a sample

*检查控制台,getRangeSelectionsgetSelectedRows 按预期工作,因此您可以尝试使用相同的逻辑创建自己的 statusPanel 而它不会不固定。

关于ag-grid - 在 ag-grid 中,服务器端模型是否支持状态栏?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52619382/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com