首页 > 解决方案 > 如何获取rowFields以比较枢轴网格devextreme中的两列反应js

问题描述

我有使用devExtreme react pivot grid的枢轴网格,我想比较两列,所以我需要行字段来比较,但是在单元格渲染中我没有行字段,有没有办法获得行字段。

例子:

<PivotGrid
dataSource={pivotDataSource}
allowSortingBySummary
allowSorting
allowFiltering
allowExpandAll
height={560}
showBorders
onCellPrepared={customizeCells}
>
<FieldPanel visible />
<FieldChooser enabled={false} />
<Scrolling mode="virtual" />
</PivotGrid>

标签: reactjsdevextremepivot-grid

解决方案


推荐阅读