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
1100
Detecting a row collapse
posted

I have a XamDataGrid that is bound to a dataset with multiple parent-child tables. This particular dataset has Expression fields in nearly every table that perform counting and sums. Each row acts as a toggle switch that turns an artificial selection flag on / off . When clicking on a row very quickly, the row's parent sometimes collapses for no apparent reason. Sometimes another unrelated parent collapses for no apparent reason. I am trying to better understand why this would happen but the first trick is to catch the send of the collapse in the act... So, how do I detect a row collapse?

 

Parents
  • 69686
    posted

    Hello,

    RecordCollapsing/ed would be probably the event you are looking for. Have you tried handling that?

    How do you "toggle" the switch record -with MouseLeftButtonDown event? Is this flag a property of the underlying data object?

Reply Children