Skip to Content
0
Former Member
Oct 14, 2005 at 09:57 AM

WDA: How to Insert a new line into a treebykey table?

38 Views

Dear colleagues,

I want to insert a new line into a treebykey table after a selected line, is there any good suggestion to do this, or example?

I found there is a method 'GET_TABLE_TREE_LEAD_SELECTION' in 'CL_WD_DYNAMIC_TOOL', but it's just for treebynesting.

Then, I try to use the event 'OnLeadSelect' of the table, but I am not clear about how the parameter of 'new_row_element' and 'old_row_element' should be used.

Thank you.

Swee Hu