Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
205
How to check the selected record is parent or child in Hierarchical Grid
posted

Hi Guyz

 

How to know the selected record is parent record or child record in an hierarchical XamDataGrid?

 

Thanks

Asif Abdulla

Parents
No Data
Reply
  • 388
    posted

    salam , mr asif 

    the parent and child records has relative meaning 

    so  I think you should say : how to know the selected record is parent record or  child record for specific another record ?

    so this is what i understood from you question mr asif 

    these many properties in XamDataGrid that may help you :

    • xamDataGrid1.SelectedItems.Records[0].ParentRecord
    • xamDataGrid1.SelectedItems.Records[0].HasChildren   
    • xamDataGrid1.SelectedItems.Records[0].NestingDepth ( the number of parent record that this selected record has )
    • xamDataGrid1.SelectedItems.Records[0].RecordType    (the type of the selected record ) 
Children
No Data