views:

2929

answers:

2

I need to select one row, multiple rows or a cell in Ultragrid to copy from the grid. How can this be accomplish?

A: 

This is a really open ended question (web/win forms?). The best advice I can give you is if you open up the UltraWinGrid Designer from the grid's smart tag, then select the "Feature Picker" and expand the "Selection" node you should be able to configure the cell, row, column selection the way that you want.

I hope that helps.

Mosquito Mike
+1  A: 

Your question isn't very specific, but if you want to get or set the selected row, you can use the .Selected property on the row. You can also use:

_yourGrid.DisplayLayout.ActiveRow = whateverRowYouWantSelected

For multiple selection, you can use

_yourGrid.DisplayLayout.SelectedRows
Sterno