Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
No ScrollBars with Resizd Columns
posted

Hey All, I am loading a grid dynamically via DataBind.  As indicated I've turned off AutoGenerateColumns and set BoundDataFields and ColumnBehaviors for all the columns.  All appears to be working except that I'm not getting a scrollbar when I resize any column larger than the width of the grid. 

I've tried forcing the sum of the columns to initially be larger than the width of the grid panel.

I've set the width of the grid in pixels as indicated in this link https://es.infragistics.com/community/blogs/b/taz_abdeali/posts/under-the-hood-of-new-aikido-webdatagrid-contd  Can anyone tell me how to force the scrollbars to show up?

Parents
No Data
Reply
  • 12025
    posted

    Are you also setting the width on individual columns? You will need to set them to get a horizontal scrollbar to show up. If you are using 2009.2, then there is a property called DefaultColumnWidth added to the WebDataGrid, setting that property will give a default width to all the columns and you should see a scrollbar if the the columns can't fit in the grid area.

    hth,

    Taz.

Children