ASP.NET Pack Programmer's Guide
TableNode Class
Remarks See Also
 





TableNode instances are diagram nodes that can be used to display tabular or list data.

Namespace: MindFusion.Diagramming
Package: TableNode.js

 Syntax

JavaScript  Copy Code

// class
TableNode.prototype = {}

 Remarks

Tables consist of Cell instances distributed across rows and columns. The number of rows and columns can be set by calling the redimTable method. Cells can be made to span several rows and columns by setting their RowSpan and ColumnSpan properties to values larger than one.

The structure of a table can be dynamically changed by adding and deleting rows and columns. This can be done with the addColumn and addRow methods as well as with the insertColumn, insertRow and redimTable methods. deleteRow and deleteColumn methods delete existing rows and columns.

Table cells can display text as specified via their setTextsetTextColor and setTextAlignment methods. Cells can also contain images, specified via the setImage and setImageAlign methods. Table nodes can show a caption in their title bar, whose text is set via the Text property. The height of the caption bar is set via the CaptionHeight property.

 See Also

TableNode Members
MindFusion.Diagramming Namespace