ScrollView of C1DataGrid?

Posted by: doremon1381 on 17 June 2018, 6:57 pm EST

    • Post Options:
    • Link

    Posted 17 June 2018, 6:57 pm EST

    Hi!

    When using C1DataGrid, I see the line "ScrollViewer.CanContentScroll=“True” but when I find default template of C1DataGrid, I didnt see ScrollView in the template to use AssociatedObject.FindParent. If C1DataGrid has a scrollview, can you help me to find another way to get the scrollview in C1DataGrid?

    Thank you!

  • Posted 18 June 2018, 10:59 pm EST

    Hello,

    There can be two ways of achieving your requirement:

    1. Accessing the Scrollbars using VisualTreeHelper, please refer to following post: https://stackoverflow.com/a/1759923
    2. You may override the C1DataGrid and get the scrollbar, please refer to following post for more information: https://www.grapecity.com/en/forums/silverlight-edition/c1datagrid-horizontalverti#c1archiveyou-can-simply-us

    Hope this helps.

    Regards,

    Ruchir

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels