@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.
@@ -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];