Kbase P169747: Horizontal scrollbar on Ultragrid does not scroll.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/13/2010 |
|
Status: Unverified
SYMPTOM(s):
Horizontal scrollbar on Ultragrid does not scroll.
Horizontal scrollbar is visible but does not scroll.
FACT(s) (Environment):
Vertical scrollbar works correctly.
Value of the DisplayLayout:Scrollbars property of the UltraGrid is Both.
Value of the DisplayLayout:AutoFitStyle property of the UltraGrid is ResizeAllColumns.
Windows
OpenEdge 10.2x
CAUSE:
Because AutoFitStyle is set to ResizeAllColumns, column widths are decreased so that all columns are always displayed in the UltraGrid. Therefore, there is no need for horizontal scrolling. However, because Scrollbars is set to Both, the horizontal scrollbar does not disappear. Instead, it is disabled.
FIX:
The fix depends on the desired appearance and behavior of the UltraGrid:
To remove the scrollbar when all columns are displayed, set the DisplayLayout:Scrollbars property of the UltraGrid to Infragistics.Win.UltraWinGrid.Scrollbars:Automatic.
To display columns at their normal width and enable the horizontal scrollbar to bring them in and out of the viewport, set the DisplayLayout:AutoFitStyle property of the UltraGrid to Infragistics.Win.UltraWinGrid.AutoFitStyle:None or Infragistics.Win.UltraWinGrid.AutoFitStyle:ExtendLastColumn.