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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Typescript EJDiagram - nodeSizeChange

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hi,
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)
{
args.element.addInfo.setDimension(w,h);
}
};

Any idea?
Thanks!
Versions:
TypeScriptToolsVersion:1.5.2.0
Syncfusion TypeScript :version : 13.4.0.53
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.


https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents

                                                                                                                                    

Regards,

Shyam G


CONFIRMATION

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.

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

;