Search
Grid.addRowHeader Method
See Also
 





Adds the specified header to the grid as a new row header.

Namespace: MindFusion.Diagramming.Lanes
File: Grid.js

 Syntax

JavaScript  Copy Code

function addRowHeader (header, [parent, [i]])

 Parameters

header

Lanes.Header. The Header object to add.

parent
Optional.

Lanes.Header. The parent header to add to, or null to add the new header as a root row.

i
Optional.

Number. The index at which the header was added in the collection.

 Example

The following example adds a new header at the end of the row collection of an existing lane grid.

JavaScript  Copy Code
d.addRowHeader(new Header());

 See Also