Fix handson table issue (#1827)

This commit is contained in:
aignatov-bio 2019-06-14 16:21:27 +02:00 committed by GitHub
parent 2dfbdacfa3
commit fb3b7918af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,7 @@ function initializeHandsonTable(el) {
formulas: true
});
el.handsontable("getInstance").loadData(data);
el.handsontable("getInstance").sort(3, order);
el.handsontable('getInstance').getPlugin('columnSorting').sort(3, order);
// "Hack" to disable user sorting rows by clicking on
// header elements