First, thanks for the additional information. I'll try to explain in detail what could be the problems when attaching the radScrollBars to the DataGridView control.
Firstly you'll need to set for each ScrollBar at least these properties: Maximum, Minimum and LargeChange. Also you have to locate and size the scrollbars correctly.
Then you need to write code to affect the scrollbars when the visible size of the DataGridView has changed or when the number of rows / columns has changed. In addition there are problems with the client rectangle of the DataGridView which is calculated automatically when property ScrollBars
is different than None. But in this case when we have external scrollbars it must be None or otherwise you'll see 2 pairs of scrollbars.
Nevertheless we have attached a sample application which demonstrates how you could make the DataGridView use the radScrollBars. Still there're some problems which we couldn't overcome with the current version of the DataGridView control (mainly these problems are related to synchronization):
- The scrollbars are actually over the content of the grid - they do not affect the ClientRectangle of the grid.
- The scrollbars don't synchronize with the current size and content of the grid (the height of the vertical scrollbar, the thumb sizes for both scrollbars, the maximum values, page scrolling, etc.)
- The scrollbars are not affected when the grid is scrolled with the keyboard.
- The gird cannot be scrolled with the mouse wheel anymore.
Anyway I hope this information and the sample project bring additional light to this use case.
All the best,