This is a migrated thread and some comments may be shown as answers.

toolbar template isn't synchronized horizontally with the grid content

1 Answer 93 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shinji
Top achievements
Rank 1
Shinji asked on 31 Oct 2016, 01:42 AM

I want to synchronize the toolbar template with the grid content when I move the horizontal scroll bar.

Sample code is here.

When you display the horizontal scroll bar to resize the window, you will find to hide "rightButton".

If you scroll right, only the grid content is scrolled horizontally.

How do I synchronize the toolbar with the grid content?

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 01 Nov 2016, 11:50 AM
Hi Shinji,

The desired behavior is not supported, but can be achieved via some custom DOM manipulation, for example in the dataBound event handler.

I have modified the dojo to illustrate a sample implementation, but please mind that it is just for illustrative purposes, and the developer should use it at his/her own discretion, as well as provide further modifications if needed:

http://dojo.telerik.com/aMunu/4

I hope this helps.

Regards,
Dimiter Topalov
Telerik by Progress
Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
Tags
Grid
Asked by
Shinji
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or