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
1570
Get Datakey value on Expand Row evnet?
posted

Hi,

I want to get a datakey value of parent grid row when we expand it to display its child rows? Any help on this will appreciate.

Thanks,

Mits

Parents
  • 8160
    posted

    Hello Mits,

    if you handle RowExpanding event on the client these two should be working:

    eventArgs.get_row().get_dataKey()[0];

    or

    eventArgs.get_row().get_rowIslands()[0].get_parentRow().get_dataKey()[0];

    Please let me know if you need further assistance

     

     

Reply Children