How can I set the selecteditem based on a known value for a cell? Also, make sure that that the record is visible.
Thanks,Rod
Hi Rod -
Can you be more specific about what you are trying to achieve?
Joe
Say I know a specific id for a record. I know I can do a select on the dataview and get the datarow, but what I need is, to get the reference to the specific datarecord so that I can set it to be the one and only selectedItem.
Rod
XamDatagrid.GetRecordFromDataItem(object dataItem, bool recursive);
will return the DataRecord for a given underlying data item. If you pass false for 'recursive' then only root level records will be searched. Passing true causes a recursive search through all child records.