Skip to content

SFGrid Scrolling behavior  #45

Closed
Closed

Description

@waqaryounusjatt788

Whenever i am scrolling vertically or horizontally then below line is showing but after few seconds it is hiding.. in scrolling it should not hide

image

Activity

  1. NeelakandanKannan commented on Nov 5, 2020

    @NeelakandanKannan

    Hi waqaryounusjatt788,

    Can you confirm whether you are reporting the below highlighted line?

    image

    If yes, that is the horizontal scrollbar which will be shown for some time when you scroll horizontally. Also, vertical scrollbar will be shown when you scroll vertically.

  2. waqaryounusjatt788 commented on Nov 9, 2020

    @waqaryounusjatt788
    Author

    yes, it is show some time but i want continuously show while scrolling required... if you see in the picture highlighted area there we need scroll line required every time. but when i scroll then line is showing otherwise it is hide. please give us an option for show scroll bar.
    screen

  3. NeelakandanKannan commented on Nov 12, 2020

    @NeelakandanKannan

    Hi @waqaryounusjatt788 ,

    Currently SfDataGrid does not have support to show the scrollbars always. We have considered this as feature and this will be implemented in our 2020 Volume 4 SP release which is scheduled on mid of January 2021. Please refer the below feedback link for better followup,
    https://www.syncfusion.com/feedback/19678/support-to-show-scrollbars-always

  4. BalasubramaniSundaram commented on Dec 18, 2020

    @BalasubramaniSundaram

    Hi @waqaryounusjatt788,

    We are glad to inform you that these features have been included in our weekly pub release which was rolled out on 24th November 2020. You can use the below properties,

    isScrollbarAlwaysShown -

    Indicates whether the horizontal and vertical scrollbars should always be visible. But, both the scrollbars can't be shown at the same time. Its framework side issue. We have reported the same,

    flutter/flutter#70380

    horizontalScrollPhysics - To disable the scrolling for horizontal scroll bar.

    verticalScrollPhysics - To disable the scrolling for vertical scrollbar.

    Code Snippet

    child: SfDataGrid(
                      source: _employeeDataGridSource,
                      columns: getColumns(),
                      gridLinesVisibility: GridLinesVisibility.both,
                      isScrollbarAlwaysShown: true,
                      verticalScrollPhysics: NeverScrollableScrollPhysics(),
                      horizontalScrollPhysics: NeverScrollableScrollPhysics(),
                    ),
    

    Regards,
    Balasubramani Sundaram.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions