Scroll bars in datagrid

  • Thread starter Thread starter axapta
  • Start date Start date
A

axapta

Hi Group,
I seem to be getting horizontal and vertical scroll bars in my datagrid.
Where are the settings/what can I do so that the datagrid is fixed and does
not grow with the data horizontally but the scroll bar appears vertically?

Thanks
 
Set each Columns' .Width property, and set the .AutoResizeColumnsMode to None
 
Hi Group,
I seem to be getting horizontal and vertical scroll bars in my datagrid.
Where are the settings/what can I do so that the datagrid is fixed and does
not grow with the data horizontally but the scroll bar appears vertically?

Thanks

I think the best way to do this is to set at least one column's
AutoSizeMode property to Fill. That will cause the columns to always
fit in the grid.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top