As I indicated in the post about changing the page size, I have figured that out, and I can even end up on the new correct page after doing so. What I cannot figure out is how to manually set the new row number in code.
_XamGrid.ActiveCell.Row.Index gets me the index, but does not let me set it, since it appears to be read only.
Anyone know how we can set the index? Or perhaps infragistics could make index get and set.
If you have the row object you can either set the row.IsActive property ot set the the grid.ActiveRow= row;
Well then just set teh ActiveCell, you are correct there is no ActiveRow but the ActiveCell.Row will be the row of the ActiveCell
customerXamGrid.ActiveCell.Row = newLine;
Error is Error 1 Property or indexer 'Infragistics.Controls.Grids.CellBase.Row' cannot be assigned to -- it is read only F:\Users\Administrator\Documents\Visual Studio 2010\Projects\AshlinStore\AshlinStore\Views\Customers.xaml.cs 54 12 AshlinStore
Hi,
Here is what you could do:
1) this.TestDataGrid.Rows[2].Cells[0].IsActive = true;2) this.TestDataGrid.ActiveCell = this.TestDataGrid.Rows[2].Cells[0];
HTH,