I am working on a project that when a user types in the text box, the content in a grid automatically filter content according to the content typed by the user (This has been relized). However, now I want to do the following. When a user presses "Up" or "Down", the active row in the grid goes up or down. Please be noted that when a user presses "Up" or "Down", there might be no rows in the grid, because the filter has been applied.
Thanks.
Amiram Korach said: Theoretically, you can check if a row is filtered out or not, but there is a simpler way:grid.PerformAction(UltraGridAction.BelowRow)
Theoretically, you can check if a row is filtered out or not, but there is a simpler way:
Cool! It's really simple!!
grid.PerformAction(UltraGridAction.BelowRow)
I tried to user Grid.ActiveRow = Grid.Row(Grid.ActiveRow.Index + 1). However, the index of the Grid.Row seems include all the rows, including the rows that have been filtered out. Therefore, this way doesn't work. Please help.