Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

GridView Hierarchical Scroll To Row

$
0
0

Thank you for the quick reply. I tried this solution and although I didn't receive any errors I was not able to get it to work for me. I'm still only able to get it to auto scroll to the row of the parent grid. I've copied and pasted the excerpt of my code below along with the definition of the variables used.

Telerik Grid: dgv_edi_apps

file_row_index = the row number of the parent grid

ea_child_rec_id = the row number of the hierarchical grid

 

dgv_edi_apps.TableElement.ScrollToRow(file_row_index);
dgv_edi_apps.Rows[file_row_index].IsExpanded = true;
dgv_edi_apps.TableElement.ScrollToRow(dgv_edi_apps.MasterTemplate.Templates[0].Rows[ea_child_rec_id]);
dgv_edi_apps.MasterTemplate.Templates[0].Rows[ea_child_rec_id].IsSelected = true;


Viewing all articles
Browse latest Browse all 94857

Trending Articles



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