@quadrel-enterprise-ui/framework 21.18.2 → 21.18.3
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.
|
@@ -19341,6 +19341,9 @@ class QdGridComponent {
|
|
|
19341
19341
|
this._columnsDirective.qdColumns = this.config.columns;
|
|
19342
19342
|
const { columnsMax, disableResponsiveColspans, disableAutoFill } = this.config;
|
|
19343
19343
|
if (columnsMax) {
|
|
19344
|
+
if (columnsMax >= this.config.columns) {
|
|
19345
|
+
console.error('Quadrel Framework | QdGrid - The columnsMax value has to be smaller than the columns value.');
|
|
19346
|
+
}
|
|
19344
19347
|
this._renderer.addClass(this.element, QdColumnsMaxDirective.className);
|
|
19345
19348
|
this._renderer.addClass(this.element, `${QdColumnsMaxDirective.className}-${columnsMax}`);
|
|
19346
19349
|
}
|