How to get RowColumnIndex from node ?
private static void GotoMessage(object[] args)
{
var gridTree = (GridTreeControl)args[0];
var message = (Message)args[1];
if (gridTree == null || message == null) return;
var node = FirstNodeByName(message.DocumentElement.Name, gridTree.InternalGrid.Nodes);
node.IsSelected = true;
gridTree.InternalGrid.SelectedNodes.Add(node);
var nodesExpand = new List<GridTreeNode>();
// Expanded nodes
while (true)
{
if (node == null) break;
nodesExpand.Add(node);
node = node.ParentNode;
}
for (var i = nodesExpand.Count - 1; i >= 0; i--)
gridTree.ExpandNode(nodesExpand[i]);
// Scroll to node
// How to obtain the rowIndex and colIndex ?
// gridTree.InternalGrid.ScrollInView(new RowColumnIndex(rowIndex, colIndex));
}