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
85
Click on Row header to expand & show child row
posted

Hello-

I have a hierarchical grid (Customers->Orders).  Currently, the only way to expand customers to view orders is to click on the + icon.  I'd like to have it so if you click on any field in the Customer Row (i'm refering to this as the header), the row will expand to show orders. Conversly, if you click on a customer row and it's already expanded I'd like it to collapse.

 I tried handling the MouseDown event of the active record, but that code never gets executed for some reason.  Is there a better way to acheive this? I have code handling the RecordActivated event which works fine for the expand, but does not handle the collapse (because the row is already activated)

 Thanks in advance!
 

Parents Reply Children
No Data