This is a migrated thread and some comments may be shown as answers.
How to have an infinite horizontal scrolling?
5 Answers 9 Views
This is a migrated thread and some comments may be shown as answers.
Bahram
Top achievements
Rank 1
Bahram asked on 19 Aug 2019, 09:49 PM

Hi there,

Does anyone know how we can have an endless horizontal scrolling? Basically, I want to be able to change the visible range of ganttview dynamically as user clicks on the right/left thumb of horizontal scrolling.

 

Thanks,

Bahram Afsharipoor

5 Answers, 1 is accepted

Sort by
0
Accepted
Vladimir Stoyanov
Telerik team
answered on 22 Aug 2019, 12:13 PM
Hello Bahram,

Currently the described requirement cannot be achieved out of the box, however it can be implemented with some custom code. 

In order to do that you can access the desired ScrollBar with the ChildrenOfType extension method and handle its Scroll event. In it, you can check the Value of the scrollbar and compare it with the ExtentWidth of the EventsPanel. In case the values are close ,you can extend the VisibleRange of the RadGanttView.

I am attaching a sample project demonstrating this approach for your reference. Please, check it out and let me know, if you find it helpful.

Regards,
Vladimir Stoyanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Bahram
Top achievements
Rank 1
answered on 12 Sep 2019, 04:32 PM

Hi Vladimir,

I appreciate your response, this is exactly what I needed! And I am sorry for the late response, I just got busy with other tasks.

 

Thanks,

Bahram Afsharipoor

0
Vladimir Stoyanov
Telerik team
answered on 13 Sep 2019, 02:09 PM

Hello Bahram,

I am glad to hear that you found my suggestion helpful.

If you have any other questions or concerns, don't hesitate to contact us again.

Regards,
Vladimir Stoyanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Bahram
Top achievements
Rank 1
answered on 17 Sep 2019, 08:25 PM

Hi Vladimir,

 

Actually I need your help with implementing the same feature on a RadGridView control. Can you please tell me how I can achieve that?

 

Thanks,

Bahram Afsharipoor

0
Vladimir Stoyanov
Telerik team
answered on 19 Sep 2019, 01:02 PM

Hello Bahram,

Can you elaborate a bit on the exact requirements? I am not sure how the infinite horizontal scrolling would work in the context of the RadGridView, since by default it displays a certain amount of columns, which you can scroll. The columns can be created automatically or defined manually, however there is always a limited amount of them. The idea of the RadGridView is that each row represents some business item and each column shows the value of one property of that business item. 

With the above information in mind, may I ask you to share some more information about what you are trying to achieve? Some pictures or videos of the expected result will also be helpful. I would also ask you to open a separate thread for the RadGridView component, since this will allow us to better track our communication. 

Thank you in advance for your cooperation.

Regards,
Vladimir Stoyanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Asked by
Bahram
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Bahram
Top achievements
Rank 1
Share this question
or