views:

268

answers:

1

Quick question regarding the Compact Framework DataGrid. How can I scroll a particular row into view? We have an application that displays scans in a datagrid. If the user scans a new item I add it to the grid, but if they scan an existing item, I'd like to scroll that item into view. Is there any way to do this?

I tried using the following methods:

grid.CurrentRowIndex = findRowIdxByScan()

and

grid.Select(findRowIdxByScan())

I am definitely finding the row index, which I verified with a step-through, but it doesn't seem to actually scroll the row into view.

A: 

Well, it isn't really an answer to the problem itself, but a workaround: I used the grid control from Resco.

eidylon