title: WPF : Get index of clicked / selected cell on DataGrid
body: <p>How do I get index of clicked / selected cell on DataGrid ?
  <br>
  My DataGrid columns generated automatically and I don't want to use any DataTemplate . </p>
  
  <pre><code>&lt;DataGrid ItemsSource="{Binding Table, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, IsAsync=True}"
            AutoGenerateColumns="True"&gt;
  &lt;/DataGrid&gt;
  </code></pre>