2 weeks ago
I have existing code that uses cl_gui_alv_tree class.
I have a gist of the PBO code as below:
Just pasting a brief syntax of what I have here since there's a lot of code.
CREATE OBJECT go_custom_container
CREATE OBJECT go_alv_tree
PERFORM build_hierarchy_header CHANGING l_hierarchy_header.
PERFORM build_fieldcatalog.
CALL METHOD go_alv_tree->set_table_for_first_display
PERFORM create_hierarchy USING iw_h_job_chain.
CREATE OBJECT go_events. "kavin
SET HANDLER go_events->node_double_click FOR go_alv_tree.
SET HANDLER go_events->item_double_click FOR go_alv_tree.
CALL METHOD go_alv_tree->update_calculations.
CALL METHOD go_alv_tree->frontend_update.
CALL METHOD cl_gui_cfw=>flush
I have defined the below methods in lcl_event_receiver (object go_events) item_double_click FOR EVENT item_double_click OF cl_gui_alv_tree IMPORTING fieldname node_key,
node_double_click FOR EVENT node_double_click OF cl_gui_alv_tree IMPORTING node_key.
The tree is displaying properly but the double click on item level is not working. It is not getting triggered also in fact. Don't know what I am missing here. Please help with this thanks!
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.