cancel
Showing results for 
Search instead for 
Did you mean: 

Grid Selected Row Method

Former Member
0 Kudos

Hi all,

I have used a method for Matrix when I select a Row i.e. omtx.isrowselect(rowid) = true

but I havn't found any function for grid row selected!

Please give me the hint for grid selected row status

Best Regards,

Umer Nasim

Accepted Solutions (1)

Accepted Solutions (1)

YatseaLi
Product and Topic Expert
Product and Topic Expert
0 Kudos

'Check row is selected or not.

oGrid.Rows.IsSelected(i)

'Get the selected row by index.

oGrid.Rows.SelectedRows.Item(i)

Regards, Yatsea

Answers (1)

Answers (1)

Former Member
0 Kudos

One more thing : the SelectedRow.Item method has 2 parameters : the first one is the selected row number and the second could be row_order or selection order.

The method return the row selected index from the grid :

oGrid.Rows.SelectedRows.Item(i,SAPbouiCOM.BoOrderType.ot_RowOrder)