Resized columns cause width issue while reordering.

1 Answer 51 Views
Grid
Sahil
Top achievements
Rank 1
Sahil asked on 19 Oct 2023, 01:32 PM

I am using Kendo React Grid where reordering and resizing is enabled.

  1. I have 5 columns - A,B,C,D,E with equal default width 100px each.
  2. I resize column A to 200px
  3. Then I drag the column A to 3rd position so that new order is B,C,A,D,E

Issue - Now, We see that width of A changes back to 100px and B, which is now on first position, takes the 200px width.

 

Could you please help me with this issue on priority?

1 Answer, 1 is accepted

Sort by
2
Konstantin Dikov
Telerik team
answered on 20 Oct 2023, 11:00 AM

Hi Sahil,

Just for others convenience, following is the public issue we have logged regarding this bug:

I have also included a possible workaround with the current version, where the new state within the onColumnResize and onColumnReorder is used for updating correctly the width and the order:

The example also stores the state in the localStorage and has option for hiding/showing columns, so it can be further optimized if only resize/reorder will be used.

 

Regards,
Konstantin Dikov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Tags
Grid
Asked by
Sahil
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or