grid.Model.ResetVolatileData();
grid.UpdateScrollBars();
The call to ResetVolatileData will force the grid to callback into the QueryRowCount event which you probably have overriden in your code and where you return the new row count (including the newly added row ...)
Stefan
>When the data source (view) behind the virtual grid is inserted a new row, I used the grid.refresh(), and want to move the current cell to the new added row:
> this.CurrentCell.MoveTo(GridRangeInfo.Row(newRowIndex ));
>
>the new row data was partially displayed, some column cells data are missing. And the grid did not scroll to the current cell. Please help. Thanks.
>grid.Model.ResetVolatileData();
>grid.UpdateScrollBars();
>
>
>The call to ResetVolatileData will force the grid to callback into the QueryRowCount event which you probably have overriden in your code and where you return the new row count (including the newly added row ...)
>
>Stefan
>
>>When the data source (view) behind the virtual grid is inserted a new row, I used the grid.refresh(), and want to move the current cell to the new added row:
>> this.CurrentCell.MoveTo(GridRangeInfo.Row(newRowIndex ));
>>
>>the new row data was partially displayed, some column cells data are missing. And the grid did not scroll to the current cell. Please help. Thanks.
>grid.Model.ResetVolatileData();
>grid.UpdateScrollBars();
>
>
>The call to ResetVolatileData will force the grid to callback into the QueryRowCount event which you probably have overriden in your code and where you return the new row count (including the newly added row ...)
>
>Stefan
>
>>When the data source (view) behind the virtual grid is inserted a new row, I used the grid.refresh(), and want to move the current cell to the new added row:
>> this.CurrentCell.MoveTo(GridRangeInfo.Row(newRowIndex ));
>>
>>the new row data was partially displayed, some column cells data are missing. And the grid did not scroll to the current cell. Please help. Thanks.