Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
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
 
Labels (5)
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) {

}