ASP.NET Pack Programmer's Guide
Grid.addColumnHeader Method
See Also
 





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

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

 Syntax

JavaScript  Copy Code

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

 Parameters

header

The Header object to add.

parent
Optional.

The parent header to add to, or null, to add the new header as a root column.

i
Optional.

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

 Example

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

JavaScript  Copy Code

grid.addColumnHeader(new Header());

 See Also

Grid Members
Grid Class
MindFusion.Diagramming.Lanes Namespace