Qlik Community

Ask a Question

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
Become an analytics expert with Qlik's new 15 week course: Applied Data Analytics using Qlik Sense. READ MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
maxchenvago
Contributor
Contributor

Issue of loading Handsontable in Qlik Sense extension

Hi,

I was wondering whether anyone could give me some advice on this issue. I try to use Handsontable to develop an extension. But the module cannot be loaded, even through requirejs.config(), for example

require.config({
	paths: {
		Handsontable: '../extensions/test_spreadsheet/handsontable'
	}
})

define(["jquery", "qlik", "text!./handsontable.full.css", "Handsontable"],
function ($, qlik, cssContent) {

}

 

var hot = new Handsontable(hotElement, hotSettings);
 
The object hot cannot be instantiated, but there are no errors in the Console.
 
Thank you very much in advance!
 
Regards,
Max
 
1 Solution

Accepted Solutions
maxchenvago
Contributor
Contributor
Author

 

Solved by inserting Handsontable in the function(). It's confusing: I did have tried this, but not working last time.  

 

require.config({
	paths: {
		Handsontable: '../extensions/test_spreadsheet/handsontable'
	}
})

define(["jquery", "qlik", "text!./handsontable.full.css", "Handsontable"],
function ($, qlik, cssContent, Handsontable) {

}

View solution in original post

1 Reply
maxchenvago
Contributor
Contributor
Author

 

Solved by inserting Handsontable in the function(). It's confusing: I did have tried this, but not working last time.  

 

require.config({
	paths: {
		Handsontable: '../extensions/test_spreadsheet/handsontable'
	}
})

define(["jquery", "qlik", "text!./handsontable.full.css", "Handsontable"],
function ($, qlik, cssContent, Handsontable) {

}

View solution in original post