Get Selected Item from Ultra-Grid?

I guess it all depends on what you intend to do with the data....

Selected Row is ugdEpiCustom1.Selected.Rows(0) - presuming only one row is selected....

the value of selected row's data can be obtained from the cells:

ugdEpiCustom1.Selected.Rows(0).Cells("Key2").Value

--- In vantage@yahoogroups.com, "jeffery_p_sanders" <jps@...> wrote:
>
> Anyone have some example code (VB preferrably) of how to get the selected row from an UltraGrid?
>
> Do you get the index of the selected item from the UltraGrid and then refer to the dataset to get the actual data?
>
> Jeff Sanders
>
Anyone have some example code (VB preferrably) of how to get the selected row from an UltraGrid?

Do you get the index of the selected item from the UltraGrid and then refer to the dataset to get the actual data?

Jeff Sanders