Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Table Node (Read 3902 times)
anu
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 17
Location: Bhopal
Joined: Jan 27th, 2012
Table Node
Oct 17th, 2012 at 4:31am
Print Post  
I am creating Table Node in javascript using the following code(this is not complete code)

var TableNode = MindFusion.Diagramming.TableNode;

var tableNode = diagram.getFactory().createTableNode(10, 10, 30, 20);

but not getting the desired result.Please guide for that.
I also want to know one more thing that exporting diagram in javascript works or not?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Table Node
Reply #1 - Oct 17th, 2012 at 5:47am
Print Post  
TableNodes are not available yet in the JavaScript library. We'll try to add them for the v1.4 release.
  
Back to top
 
IP Logged
 
anu
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 17
Location: Bhopal
Joined: Jan 27th, 2012
Re: Table Node
Reply #2 - Oct 17th, 2012 at 6:04am
Print Post  
Thanks for the information...
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Table Node
Reply #3 - Dec 4th, 2012 at 9:29am
Print Post  
This version implements table nodes:
http://mindfusion.eu/_beta/MindFusion.Diagramming.js

The TableNode class has the following public members, in addition to what's derived from base DiagramItem:

getCell: function (col, row)
getRow: function (row)
getColumn: function (col)
setCaptionHeight: function (value)
redimTable: function (columns, rows)
deleteColumn: function (col)
insertColumn: function (col)
deleteRow: function (row)
insertRow: function (row)
addColumn: function ()
addRow: function ()
setScrollable: function (value)
setCurrScrollRow: function (row)
scrollDown: function ()
scrollUp: function ()

Cell class: setText, getText, setTextAlignment, getTextAlignment, setImage, getImage, setImageLocation, getImageLocation, setImageAlign, getImageAlign, rowSpan, columnSpan

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint