如何在 Kendo React Grid 中同时使用 customCell 和 Reorder?

How to use customCell and Reorder in Kendo react Grid at the same time?

所以我正在使用 Kendo React Grid,我将重新排序设置为 true,还添加了一个自定义单元格,我可以在其中添加 show/hide 列。

当我不重新排序并尝试 show/hide 时,一切正常,但是当我重新排序列然后尝试隐藏然后恢复列时,一切都会变得混乱,我无法理解我在哪里可以控制这个。

This is the grid at first.

This is where I reorder the columns

Now I opened the customCell and tried to hide the first column

This is the result where I click on Save the order is changing and I don't know why

这是 Telerik 文档,在所有示例中,没有一个可以同时找到 reorder 和 customCell:https://www.telerik.com/kendo-react-ui/components/grid/

这是重新订购部分/我找不到有关自定义重新订购的详细信息:https://www.telerik.com/kendo-react-ui/components/grid/columns/reordering/

已在 Github 上得到答案: https://github.com/telerik/kendo-react/issues/400#issuecomment-559712491