GridPanel.removeLastRow

Syntax

removeLastRow (notDispose);

Parameters

notDispose. Whether to remove the row completely. If the parameter is set to False the row is deleted completely. By default the parameter is set to True.

Description

The removeLastRow method removes the lowest row of the table.

Example

To execute the example, the HTML page must contain the GridPanel component named container (see Example of Creating the GridPanel Component). Add an HTML button clicking which removes the last row of the GridPanel component:

<button onclick= "removeLast()">Remove last row</button>

Javascropt code must contain the following information:

    function removeLast() {

        container.removeLastRow();

        };

The Remove Last Row button is located on the HTML page and by clicking which the last row of the component is removed when executing an example.

See also:

GridPanel