We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

GridDesktop scrollbars


Is it possible to hide either the horizontal or vertical scrollbar, like it is with the GridWeb control?




Thanks for using Aspose.Cells for GridDesktop.

Please use the following properties and its sub-properties to hide/display (enable/disable) Horizontal and Vertical scrollbars.

  1. GridDesktop.HorizontalScroll
  2. GridDesktop.HorizontalScroll.Enabled
  3. GridDesktop.VerticalScroll
  4. GridDesktop.VerticalScroll.Enabled

If you face any issue, please let us know, we will help you asap.



gridDesktop1.HorizontalScroll.Visible = false;
gridDesktop1.HorizontalScroll.Enabled = false;

but it’s not working, the horizontal scroll bar is still displayed even though the active sheet is limited to 10 columns which fit well within the grid’s boundaries.


Thanks for your input.

Please download and use the latest version:
for GridDesktop v2.7.9.2000

and see if it resolves your problem.

If the problem still occurs, then please provide us your source xls/xlsx file and the sample project/code to replicate this issue with the latest version.

We will soon look into it and help you asap.


I am using the latest version.

I’ve attached the .cs and .designer.cs files used in the project, as well as an Excel file with dummy data from the source datatable.




Thanks for your sample code.

I am not able to compile your code and also you should provide a simple code without any database dependency.

Anyway, I found that scroll bars cannot be displayed or hidden with any property, so I have logged a New Feature request for this issue in our database.

Once, there is some update for you, we will let you know asap.

This issue has been logged as CELLSNET-41081.


Thanks for using Aspose.Cells for GridDesktop.

Please download and use the latest fix:
for GridDesktop v2.7.11.2001

Now you can use the following two properties in Aspose.Cells.GridDesktop to set the visibility for vertical/horizontal scroll bar

  • IsVerticalScrollBarVisible,
  • IsHorizontalScrollBarVisible

Thanks very much for the quick fix.


Thanks for your feedback.

You are welcome.

Let us know if you encounter any other issue, we will be glad to assist you.

The issues you have found earlier (filed as CELLSNET-41081) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.