We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Typescript EJDiagram - nodeSizeChange

Thread ID:





123505 Mar 23,2016 12:40 PM UTC Mar 24,2016 06:26 AM UTC JavaScript 1
Tags: ejDiagram
Asked On March 23, 2016 12:40 PM UTC

i'm export JS aplicattion to TypeScript. I have a problem with event "nodeSizeChange" because it never fire.
var diagram = new ej.datavisualization.Diagram(myContainer,
selectionChange: this.onSelectionChange,
drop: this.onDrop,
rotationChange: function (args) { debugger;},
height: "100%",
width: "100%",
enableAutoScroll: false,
nodeSizeChange: function (args) { debugger; }

Rotation fire but nodeSizeChange no.
Instead, Javascript work:
var diagram = $("#Diagram1").data("ejDiagram");

//On node size change
diagram.model.sizeChange = function (args) {
var h = args.element.height;
var w = args.element.width;
args.element.addInfo.height = h;
args.element.addInfo.width = w;
//Change size container
if(args.element !=undefined && args.element.addInfo!=undefined)

Any idea?
Syncfusion TypeScript :version :
Syncfusion.Core, Version=13.4450.0.53
Syncfusion.EJ, Version=13.4450.0.53
Syncfusion.EJ.Mvc, Version=13.4500.0.53

Shyam G [Syncfusion]
Replied On March 24, 2016 06:26 AM UTC

Hi David,

We considered this “sizeChange event not triggered in typescript” as an issue and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.




Shyam G


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon