Function | Shows or hides the table detail display | ||||||
Example | <div class="tablerow" onclick="S10ToggleDetail(this);"> | ||||||
Parameters |
|
||||||
Description |
With S10ToggleDetail() you can enable the user to display detailed information
by clicking on a table row. The detail display data is read by calling the ABAP
method "on_detail_xxx "where xxx is the table name. In "on_detail_xxx" you get
the number of the selected table row by
s10actionparameter(). Example * show details in customer list method on_detail_tabkna1. * read current table row. data: tabindex type i. tabindex = s10actionparameter( ). read table tabkna1 index tabindex assigning field-symbol(<row>). * now read additional details into the class atttributes * using the customer number <row>-kunnr ... endmethod. Further explanations can be found in the chapter Tables. |
||||||
Components | S10 Framework |