@esfaenza/es-table 11.2.22-beta38 → 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 +14 -2
- 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/components/es-table/es_table.component.js +3 -3
- package/esm2015/lib/core/handlers/classes/ColumnMetadataHandler.js +13 -1
- package/fesm2015/esfaenza-es-table.js +14 -2
- 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];
|
|
@@ -4060,7 +4072,7 @@
|
|
|
4060
4072
|
else if (this.arrayMode && (!this.UseArrayModePaging || this.SearchView)) {
|
|
4061
4073
|
if (this.SearchView) {
|
|
4062
4074
|
this.PagerOptions.View = this.SearchView;
|
|
4063
|
-
this.PagerOptions.PagerCount =
|
|
4075
|
+
this.PagerOptions.PagerCount = this.SearchView.objectcount || 0;
|
|
4064
4076
|
}
|
|
4065
4077
|
else
|
|
4066
4078
|
this.PagerOptions.PagerCount = this.View.length || 0;
|
|
@@ -4150,9 +4162,9 @@
|
|
|
4150
4162
|
this.rowGrouping_H.arrayModeReviewGroupings(hI.leafs); // ... i raggruppamenti li devo fare lato client
|
|
4151
4163
|
}
|
|
4152
4164
|
this.columnMetadata_H.reviewColumnsList(hI.leafs); // Aggiorna la lista delle colonne da mostrare nella dialog per ordinamento ecc
|
|
4165
|
+
this.columnMetadata_H.alignColumnsIfLoadedView(view); // Se sto caricando una View da hotpotato (quindi con savedstate = true) riallineo la visibilità delle colonne e il loro ordine.
|
|
4153
4166
|
this.columnMetadata_H.moveFixedColumnsAtTheBeginning(hI.leafs, tds); // Sposto tutte le cose fixed all'inizio in modo che la creazione di th e td sia più snella (Utilizza le ColumnsList, quindi dev'essere richiamata PIRMA di reviewColumnsList)
|
|
4154
4167
|
this.columnMetadata_H.alignHeadersOrdering(hI.leafs, view); // Allineo gli ordinamenti agli header
|
|
4155
|
-
this.columnMetadata_H.alignColumnsIfLoadedView(view); // Se sto caricando una View da hotpotato (quindi con savedstate = true) riallineo la visibilità delle colonne e il loro ordine.
|
|
4156
4168
|
this.columnMetadata_H.refreshColumnsVisibility(hI.leafs, tds, view); // Lavoro sui TH ed eventualmente modifico la visibilità anche dei TD.
|
|
4157
4169
|
this.columnMetadata_H.evaluatePinnedColumnsWidth(); // Se sono presenti colonne pinnate valuta la dimensione del contenitore
|
|
4158
4170
|
this.columnMetadata_H.generateDefaultOrder(hI.leafs, view); // Genero le direttive di ordinamento, che siano default o derivanti dalla AppSearch
|