How to have an infinite horizontal scrolling?

6 posts, 1 answers
  1. Bahram
    Bahram avatar
    24 posts
    Member since:
    Feb 2019

    Posted 19 Aug 2019 Link to this post

    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

  2. Answer
    Vladimir Stoyanov
    Admin
    Vladimir Stoyanov avatar
    703 posts

    Posted 22 Aug 2019 Link to this post

    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.
  3. Bahram
    Bahram avatar
    24 posts
    Member since:
    Feb 2019

    Posted 12 Sep 2019 in reply to Vladimir Stoyanov Link to this post

    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

  4. Vladimir Stoyanov
    Admin
    Vladimir Stoyanov avatar
    703 posts

    Posted 13 Sep 2019 Link to this post

    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.
  5. Bahram
    Bahram avatar
    24 posts
    Member since:
    Feb 2019

    Posted 17 Sep 2019 in reply to Vladimir Stoyanov Link to this post

    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

  6. Vladimir Stoyanov
    Admin
    Vladimir Stoyanov avatar
    703 posts

    Posted 19 Sep 2019 Link to this post

    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.
Back to Top