mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-27 09:13:46 +08:00
Fix handson table issue (#1827)
This commit is contained in:
parent
2dfbdacfa3
commit
fb3b7918af
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue