cancel
Showing results for 
Search instead for 
Did you mean: 

Make Handsontable droppable

joerg_arndt
Participant
0 Kudos

Hi Friends,

I have Table like this.


var oExcelGrid = new ExcelGrid("oExcelGrid", {

   data : "{/data}",

   options : {

    minSpareRows : 100,

    colHeaders : true,

    rowHeaders : true,

    contextMenu : true

});

Now I try to make it droppable with:

   $("#oExcelGrid").droppable({

             drop: function(event, ui) {               

             }});

But it tells me all the time.

undefined is not a function.

Can somebody help me to make it dropable?

Thanks in advance.

Rg. Joerg

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182862
Active Contributor
0 Kudos

Hi

Can you try this?

oExcelGrid.#().droppable({

thanks

-D

joerg_arndt
Participant
0 Kudos

Thanks Dennis,

but it does not work.

I tooked the the Excamle from this page.

http://scn.sap.com/community/developer-center/front-end/blog/2013/12/16/excel-like-custom-grid-contr...

May be it helps to ellaborate.

It is a bit different.

Thanks again.

Rg. Joerg

former_member182862
Active Contributor
0 Kudos

Sorry.

if should be

oExcelGrid.$().droppable({

or

sap.ui.getCore().byId('oExcelGrid').$().droppable({

Thanks

-D