Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
354 views
in Technique[技术] by (71.8m points)

javascript - 如何在Kendo React Grid中同时使用customCell和Reorder?(How to use customCell and Reorder in Kendo react Grid at the same time?)

So I am using Kendo React Grid and I am setting the reorder to true and also added a custom cell where I can show/hide columns.

(因此,我正在使用Kendo React Grid,并将重新排序设置为true,还添加了一个自定义单元格,可以在其中显示/隐藏列。)

when I don't reorder and try to show/hide everything works fine but when I reorder the columns and then try to hide then restore the column everything will get messy and I can't understand where I can control this.

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

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

(现在,我打开customCell并尝试隐藏第一列)

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

(这是我点击“保存订单”后的结果,我不知道为什么)

this is the Telerik documentation and in all examples there is no one where I can find reorder and customCell at the same time: https://www.telerik.com/kendo-react-ui/components/grid/

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

And this is the reorder section/ I couldn't find details about customizing the reorder: https://www.telerik.com/kendo-react-ui/components/grid/columns/reordering/

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

  ask by Nassef Ferjeni translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...