I have a datasource representation on a form, using different controls (a treeview and a GridDataBoundGrid).
What I would like to know is how to select a Row in the grid based on the selected node in the tree and ensure it is visible.
ADAdministrator Syncfusion Team February 24, 2003 04:03 AM
I assume that when you click in the tree at that time you know the record position in the underlying datasource.
Based on that information you can get the row index with
int rowIndex = grid.Binder.ListManagerPositionToRowIndex(record);
and then scroll this row into view
- or -
move the current cell to that row:
SASerban Alexandru FlorianFebruary 24, 2003 08:39 AM
Thank you !
SSSilviu SauleaJune 6, 2003 02:49 AM
Hei Alexandre please write to me at firstname.lastname@example.org -
in romaneste - ce ai inteles din explicatie! :)
Daca ai YM contacteaza-ma sunt online!