ngx-rs-ant 2.3.5 → 2.3.6
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/fesm2020/ngx-rs-ant.mjs
CHANGED
|
@@ -2205,9 +2205,6 @@ class DataGridFactory {
|
|
|
2205
2205
|
if (field.viewConfig.columnWidth) {
|
|
2206
2206
|
column.width = field.viewConfig.columnWidth;
|
|
2207
2207
|
}
|
|
2208
|
-
if (field.viewConfig.alignCenter) {
|
|
2209
|
-
column.alignment = 'center';
|
|
2210
|
-
}
|
|
2211
2208
|
if (field.viewConfig.component) {
|
|
2212
2209
|
column.cellTemplate = 'cellComponentTemplate';
|
|
2213
2210
|
column.config = field.config;
|
|
@@ -2430,6 +2427,9 @@ class DataGridFactory {
|
|
|
2430
2427
|
break;
|
|
2431
2428
|
}
|
|
2432
2429
|
}
|
|
2430
|
+
if (field.viewConfig.alignCenter) {
|
|
2431
|
+
column.alignment = 'center';
|
|
2432
|
+
}
|
|
2433
2433
|
columns.push(column);
|
|
2434
2434
|
}
|
|
2435
2435
|
result.next(columns);
|