kendo-angular icon indicating copy to clipboard operation
kendo-angular copied to clipboard

[Grid] Inconsistent behavior when dynamically changing the `sticky` input property

Open stnikolova opened this issue 4 years ago • 2 comments

Describe the bug When the sticky input property of <kendo-grid-column> is changed dynamically, some visual defects appear:

  1. Unnecessary empty space (column holder)
  2. Column is not sticked

To Reproduce https://stackblitz.com/edit/grid-dynamic-sticky-columns-5nbjcf

Steps to reproduce the behavior:

  1. Stick "ID" column

  2. Stick "Category" column

  3. Stick "Name" column

  4. Try to scroll Result: "Name" column is not sticked.

  5. Unstick "ID" column

  6. Try to scroll

Result: Empty space appear on the left of the "Name" column

Second example - https://stackblitz.com/edit/angular-qy7trz-61zgaw?file=src%2Fapp%2Fapp.component.ts

  1. Move supplier id to the first or second column position where the sticky functionality isn't being applied. If the column is moved to the third column then it works.

Expected behavior Columns should be sticked properly.

Screenshots Screenshot 2021-06-29 at 11 45 01 Screenshot 2021-06-29 at 11 45 22

kN1zrLAOA3

stnikolova avatar Jun 29 '21 08:06 stnikolova

Also reported in this forum thread https://www.telerik.com/forums/column-kendo-grid-sticky-property-does-not-change-dynamically

Steps to reproduce the same issue with dynamically generated columns:

https://stackblitz.com/edit/angular-hjbr9g-6qdttz?file=src%2Fapp%2Fapp.component.ts

ProductID is sticky initially

  1. Make the ProductName sticky through the button below the Grid
  2. Make the CategoryName column sticky again with the respective button
  3. Try scrolling the Grid horizontally and see how the sticky state of all three columns isn't persisted.

mbechev avatar Aug 18 '23 06:08 mbechev

Please fix this issue, our product really needs this functionality.

marvhen avatar Jan 02 '24 04:01 marvhen

Fixed in v15.4.0 of kendo-angular-grid package.

slavenai avatar Apr 09 '24 13:04 slavenai