Home Forums WPF controls Xceed DataGrid for WPF ScrollBars

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #24287 |

    Hi all.
    I didn´t see anything about scrollbars of the datagridcontrol.
    How do I make they work?
    Thx for now.
    Ricardo

    Imported from legacy forums. Posted by Ricardo (had 734 views)

    User (Old forums)
    Member
    Post count: 23064

    You may put your Datagrid into a ScrollViewer.
    This way, scrollbars will appear when necessary.

    <ScrollViewer>

    <xcdg:Datagrid (your options)…>

    … (your stuff)

    </xcdg:DataGrid/>

    <ScrollViewer>

    Imported from legacy forums. Posted by valentin (had 362 views)

    Xceed Support
    Member
    Post count: 5658

    By default, in TableView, the grid’s content (with the exception of the FixedHeaders and FixedFooters) are contained in a TableViewScrollViewer, which will make the scrollbars appear when necessary.

    What behavior are you seeing with the scrollbars that is not correct?

    Imported from legacy forums. Posted by Jenny [Xceed] (had 271 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi,

    I don’t have any scrollbars either. I’ve placed <ScrollViewer> around my data grid, but it still doesn’t work.

    I think this may be related. When running the Live Explorer, I only have data in the “Binding Data” demo. All other demos, e.g. Look & Feel, Editing Data, etc., simply display the header of the table.

    Perhaps this is caused by a DLL mixup?

    Geo

    Imported from legacy forums. Posted by George (had 349 views)

    Xceed Support
    Member
    Post count: 5658

    The grid should not be placed in a scrollviewer unless you want to scroll the grid rather than its content. The items in the grid are already contained in a scrollviewer and the scrollbars should appear.

    Is you grid contained in something else, such as a StackPanel?

    Imported from legacy forums. Posted by Jenny [Xceed] (had 4116 views)

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.