Column-kendo-grid "sticky" property does not change dynamically

1 Answer 356 Views
Grid
josé
Top achievements
Rank 1
josé asked on 15 Aug 2023, 07:51 PM | edited on 15 Aug 2023, 09:07 PM

I'm trying to change the "sticky" columns dynamically in my project, but if I add a column with sticky true dynamically, the other column "rises" on top of the other, it's like the recalculation is not redone to leave more than one column with "sticky".

I made an example on "stackblitz" of the error, it starts with column 2 (ProductName) starting with "sticky" as "true", but if you click to column 1 (ProductID) and column 3 (Category.Category) it gets fixed, column 3 is on top of the other fixed columns.
The three columns with styck only work if I start the kendo grid with both true.

To test, keep the screen small to generate horizontal scrolling



example:

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

carolina
Top achievements
Rank 1
commented on 16 Aug 2023, 07:04 AM

It is a error of code that interrupt the flow the execution dynamically in the project.
josé
Top achievements
Rank 1
commented on 16 Aug 2023, 12:53 PM

What would be the code error? The only thing I'm doing is setting the "fixed" property to true or false

1 Answer, 1 is accepted

Sort by
2
Accepted
Martin Bechev
Telerik team
answered on 18 Aug 2023, 06:51 AM

Hi Jose,

Thank you for the provided feedback.

This is a known issue about the Grid sticky property that has been logged here:

https://github.com/telerik/kendo-angular/issues/3363

Please subscribe to it in order to be notified in a timely manner when there is any update

Accept our apologies for the caused inconvenience.

Regards,
Martin
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
josé
Top achievements
Rank 1
Answers by
Martin Bechev
Telerik team
Share this question
or