mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-06 00:56:20 +08:00
WIP #807 - enable filter detection
setting "filter" option in method BIND_ALV enables filter detection later; this happens in GET_FILTER (ZCL_EXCEL_CONVERTER_ALV) which takes the filter, applies it and returns table "et_filter" with the row numbers of the filtered items.
This commit is contained in:
parent
f9b3a5b555
commit
7085eac57b
|
@ -875,13 +875,16 @@ CLASS zcl_excel_worksheet IMPLEMENTATION.
|
||||||
|
|
||||||
|
|
||||||
METHOD bind_alv.
|
METHOD bind_alv.
|
||||||
DATA: lo_converter TYPE REF TO zcl_excel_converter.
|
DATA: lo_converter TYPE REF TO zcl_excel_converter,
|
||||||
|
lo_option TYPE zexcel_s_converter_option.
|
||||||
|
|
||||||
CREATE OBJECT lo_converter.
|
CREATE OBJECT lo_converter.
|
||||||
|
lo_option-filter = abap_true.
|
||||||
|
|
||||||
TRY.
|
TRY.
|
||||||
lo_converter->convert(
|
lo_converter->convert(
|
||||||
EXPORTING
|
EXPORTING
|
||||||
|
is_option = lo_option
|
||||||
io_alv = io_alv
|
io_alv = io_alv
|
||||||
it_table = it_table
|
it_table = it_table
|
||||||
i_row_int = i_top
|
i_row_int = i_top
|
||||||
|
|
Loading…
Reference in New Issue
Block a user