Title: onClickCell of subgrid Post by: JPi on November 01, 2016, 05:31:11 AM Hi,
I am using detailview for subgrid layout of my table. I have a button within the subgrid and on click of it, attachment should open pertaining to that row of subgrid. However I always get index as 0 inspite of clicking any other row. Can you pls help with code of button within subgrid that will help me find the parent row index ? Thanks, JPi Title: Re: onClickCell of subgrid Post by: stworthy on November 01, 2016, 08:07:39 AM Please call the 'getParentRowIndex' method to get the index of parent row.
Code: onExpandRow: function(index,row){ Title: Re: onClickCell of subgrid Post by: JPi on November 01, 2016, 10:39:31 AM Thanks Stworthy ! I shall try out and get back to you.
Title: Re: onClickCell of subgrid Post by: JPi on November 02, 2016, 09:18:45 PM Thanks ! It works fine.
|