Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
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 (2)
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) {

}