How do I get a reference to the addnewrow? I'd like to set it active and enter edit mode on a particular cell on loading of the page but the addnewrow isn't in the Rows colleciton of the grid and I don't see another property I can use to get it.
Hello ,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
If the above suggestion helped you solve your issue please verify the thread as answered so other users may take better advantage of it.
Sincerely,Petar MonovDeveloper Support EngineerInfragistics Bulgariawww.infragistics.com/support
Hi,
There is one other way.
The XamGrid actually has a property called RowsManager, however it's protected. If you simply derive from the xamGrid, you can expose the property, and thus give yourself access without having to go through the rows collection.
Hope this helps,
-SteveZ
The grid is empty when it is first loaded. Do I have to add a row and then remove it just to get the RowsManager? Rows[0] throws when empty as it doesn't include the addnew row.
In order to get a hold of the AddNewRow you have get the RowsManager off of a row.
For example:
((RowsManager)grid.Rows[0]).Manager).AddNewRowTop