Show TOC Start of Content Area

Syntax documentation onHeaderClick  Locate the document in its SAP Library structure

The event is fired when the user clicks on one of the columns in the header of the table.

 

Example

using the taglib

    /* Get the tableView component */
    
TableView table = (TableView) this.getComponentByName("myTableView");

    
/* Set the onHeaderClick event */
    
table.setOnHeaderClick("onHeaderClick");
    ..

    
/*  the method onHeaderClick has to be declared in the DynPage.

        Otherwise an exception is thrown ("method not found") when the

        user clicks on the header of the tableView.
    
        Declaring onHeaderClick: */
    
public void onHeaderClick(Event event) {
        System.out.println(
"Header click");
    }

 

End of Content Area