This is a migrated thread and some comments may be shown as answers.

Getting detail row selected data

1 Answer 139 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sanjay
Top achievements
Rank 1
Sanjay asked on 05 May 2016, 10:06 AM

Hi,

I am having detail grid for each parent. On custom button, I want to display data of selected detail row. 

I am using template for showing detail data.

<script type="text/x-kendo-template" id="template">
  <div>
                        <div class="gridOptions" kendo-grid k-options="gridOptions" id="gridOptions" k-ng-delay="gridOptions"></div>
                    </div>                
            </script>

Appreciate any help.

Thanks,

Sanjay

1 Answer, 1 is accepted

Sort by
0
Accepted
Viktor Tachev
Telerik team
answered on 09 May 2016, 07:58 AM
Hello Sanjay,

You can use the dataItem method to access the current data item in the grid. Then, you can use the data from the row as required.

Regards,
Viktor Tachev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Sanjay
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or