Skip to content

Commit 04055e0

Browse files
authored
more ALV methods (#41)
1 parent 03b6005 commit 04055e0

File tree

2 files changed

+56
-2
lines changed

2 files changed

+56
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"license": "MIT",
1313
"dependencies": {
1414
"@abaplint/cli": "^2.113.104",
15-
"@abaplint/runtime": "^2.10.25",
15+
"@abaplint/runtime": "^2.10.26",
1616
"@abaplint/database-sqlite": "^2.10.24",
17-
"@abaplint/transpiler-cli": "^2.10.25"
17+
"@abaplint/transpiler-cli": "^2.10.26"
1818
}
1919
}

src/cl_gui_alv_grid.clas.abap

+54
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,36 @@ CLASS cl_gui_alv_grid DEFINITION PUBLIC INHERITING FROM cl_gui_control.
120120
EXPORTING
121121
et_fieldcatalog TYPE any.
122122

123+
METHODS get_current_cell
124+
EXPORTING
125+
es_row_id TYPE lvc_s_row
126+
es_col_id TYPE lvc_s_col.
127+
128+
METHODS set_current_cell_via_id
129+
IMPORTING
130+
is_row_id TYPE lvc_s_row OPTIONAL
131+
is_column_id TYPE lvc_s_col OPTIONAL
132+
is_row_no TYPE lvc_s_roid OPTIONAL.
133+
134+
METHODS get_scroll_info_via_id
135+
EXPORTING
136+
es_row_no TYPE lvc_s_roid
137+
es_row_info TYPE lvc_s_row
138+
es_col_info TYPE lvc_s_col.
139+
140+
METHODS register_edit_event
141+
IMPORTING
142+
i_event_id TYPE i
143+
EXCEPTIONS
144+
error.
145+
146+
METHODS set_scroll_info_via_id
147+
IMPORTING
148+
is_row_info TYPE lvc_s_row OPTIONAL
149+
is_col_info TYPE lvc_s_col
150+
is_row_no TYPE lvc_s_roid OPTIONAL.
151+
152+
CONSTANTS mc_fc_check TYPE ui_func VALUE 'TODO'.
123153
CONSTANTS mc_fc_detail TYPE ui_func VALUE 'TODO'.
124154
CONSTANTS mc_fc_loc_append_row TYPE ui_func VALUE 'TODO'.
125155
CONSTANTS mc_fc_loc_copy TYPE ui_func VALUE 'TODO'.
@@ -132,9 +162,33 @@ CLASS cl_gui_alv_grid DEFINITION PUBLIC INHERITING FROM cl_gui_control.
132162
CONSTANTS mc_fc_loc_paste_new_row TYPE ui_func VALUE 'TODO'.
133163
CONSTANTS mc_fc_loc_undo TYPE ui_func VALUE 'TODO'.
134164
CONSTANTS mc_fc_refresh TYPE ui_func VALUE 'TODO'.
165+
166+
CONSTANTS mc_style_enabled TYPE x LENGTH 4 VALUE '00000000'.
167+
168+
CONSTANTS mc_evt_enter TYPE i VALUE 1.
135169
ENDCLASS.
136170

137171
CLASS cl_gui_alv_grid IMPLEMENTATION.
172+
METHOD set_scroll_info_via_id.
173+
RETURN. " todo, implement method
174+
ENDMETHOD.
175+
176+
METHOD register_edit_event.
177+
RETURN. " todo, implement method
178+
ENDMETHOD.
179+
180+
METHOD get_scroll_info_via_id.
181+
RETURN. " todo, implement method
182+
ENDMETHOD.
183+
184+
METHOD set_current_cell_via_id.
185+
RETURN. " todo, implement method
186+
ENDMETHOD.
187+
188+
METHOD get_current_cell.
189+
RETURN. " todo, implement method
190+
ENDMETHOD.
191+
138192
METHOD get_frontend_fieldcatalog.
139193
RETURN. " todo, implement method
140194
ENDMETHOD.

0 commit comments

Comments
 (0)