@esfaenza/es-table 11.2.22-beta41 → 11.2.22-beta42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/esfaenza-es-table.umd.js +12 -0
- package/bundles/esfaenza-es-table.umd.js.map +1 -1
- package/bundles/esfaenza-es-table.umd.min.js +1 -1
- package/bundles/esfaenza-es-table.umd.min.js.map +1 -1
- package/esm2015/lib/core/handlers/classes/ColumnMetadataHandler.js +13 -1
- package/fesm2015/esfaenza-es-table.js +12 -0
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/package.json +1 -1
|
@@ -1239,7 +1239,19 @@
|
|
|
1239
1239
|
for (var coli = 0; coli < this.est.ColumnsList.length; coli++) {
|
|
1240
1240
|
var col = this.est.ColumnsList[coli];
|
|
1241
1241
|
columnsCache[col.id] = col;
|
|
1242
|
+
// Anche per le columnslist sposto le pinnate o le fixed all'inizio
|
|
1243
|
+
if (col.pinned) {
|
|
1244
|
+
if (coli != pinneds)
|
|
1245
|
+
this.utilities.arrayMove(this.est.ColumnsList, coli, pinneds);
|
|
1246
|
+
pinneds++;
|
|
1247
|
+
}
|
|
1248
|
+
if (col.fixed) {
|
|
1249
|
+
if (coli != pinneds + fixeds)
|
|
1250
|
+
this.utilities.arrayMove(ths, coli, pinneds + fixeds);
|
|
1251
|
+
fixeds++;
|
|
1252
|
+
}
|
|
1242
1253
|
}
|
|
1254
|
+
pinneds = fixeds = 0;
|
|
1243
1255
|
// Sposto tutti gli header fixed o pinned all'inizio
|
|
1244
1256
|
for (var i = 0; i < ths.length; i++) {
|
|
1245
1257
|
var th = ths[i];
|