public static TreeNode GetNodeAtRowIndex(this SfTreeGrid treeGrid, int rowIndex) { int nodeindex = treeGrid.ResolveToNodeIndex(rowIndex); if (nodeindex > -1 && treeGrid.View.Nodes.Count > nodeindex) { return(treeGrid.View.Nodes[nodeindex]); } return(null); }