Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

Draggable Objects

$
0
0

Hello Community, I'm new in working with SAP DS SDK and desperately trying to create a draggable object. I have read that DS SDK does include JQuery.

 

If I would like to modify a given coloredbox example and make it draggable (like in this example: http://jqueryui.com/draggable/#default) I would theoretically just need to put this.draggable(); into the onclick event. But I think there is something wrong what I do.

 

var that = this;

this.init = function() {

 

this.$().addClass("coloredBox");

this.$().click(function() {

     that.fireEvent("onclick");

     that.draggable(); });

};

 

Can anybody help me please?

 

Many thanks,

 

Emil


Viewing all articles
Browse latest Browse all 4216

Trending Articles