Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Nested DataGrid with inner datagrid in rowdetails template

$
0
0

Hi,

I am using nested datagrid with inner datagrid in my rowdetailstemplate. I am able to get functionality of tree structure using nested grid. Inner datagrid has multiple rows with one of the column as textbox defined inside <DataGridTemplateColumn.CellTemplate>. This textbox has lostfocus event which is firing properly.

Problem is when inner datagrid is expanded and textbox control is changed on 3rd row. I am not able to get correct value of innergrid.selectedIndex property (correct value should be 2) it is always zero.

Help required thanks in advance




Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>