Kbase P157110: How can I bring a selected row into the UltraGrid viewport after the user sorts the grid?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  9/27/2010 |
|
Status: Verified
GOAL:
How to scroll the selected row into the viewport when UltraGrid is sorted by the user
GOAL:
How can I bring a selected row into the UltraGrid viewport after the user sorts the grid?
FACT(s) (Environment):
Windows
OpenEdge 10.2x
FIX:
To bring the selected row into the viewport when the user sorts the grid and the selected row is no longer visible, put the following code in the UltraGrid's AfterSortChange event:
ultraGrid1:DisplayLayout:RowScrollRegions[0]:ScrollRowIntoView(ultraGrid1:ActiveRow).