* 设定当前光标
ls_col_id-fieldname = 'XXX'.
ls_row_id-index = <ls_mod_cell>-row_id.
ls_row_no-row_id = <ls_mod_cell>-row_id.
CALL METHOD gr_alvgrid->set_current_cell_via_id
EXPORTING
is_row_id = ls_row_id " Row No
is_column_id = ls_col_id " Column No
is_row_no = ls_row_no. " Row No.
网友评论