igniteui-angular 22.0.0-rc.2 → 22.0.1
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/fesm2022/igniteui-angular-directives.mjs +0 -1
- package/fesm2022/igniteui-angular-directives.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-core.mjs +10 -1
- package/fesm2022/igniteui-angular-grids-core.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs +42 -2
- package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs.map +1 -1
- package/migrations/common/import-helper.cjs +14 -0
- package/migrations/common/import-helper.d.cts +13 -0
- package/migrations/update-11_0_0/index.js +3 -2
- package/migrations/update-12_0_0/index.js +3 -2
- package/migrations/update-12_1_0/index.js +3 -2
- package/migrations/update-13_0_0/index.js +3 -2
- package/migrations/update-13_1_0/index.js +3 -2
- package/migrations/update-15_1_0/index.js +3 -2
- package/migrations/update-16_1_0/index.js +3 -2
- package/migrations/update-17_0_0/index.js +3 -2
- package/migrations/update-17_1_0/index.js +3 -2
- package/migrations/update-18_0_0/index.js +3 -2
- package/migrations/update-20_0_6/index.js +3 -2
- package/migrations/update-22_0_0/index.js +3 -1
- package/package.json +2 -2
- package/skills/igniteui-angular-components/references/directives.md +8 -1
- package/skills/igniteui-angular-components/references/setup.md +11 -1
- package/skills/igniteui-angular-grids/references/sizing.md +1 -0
- package/skills/igniteui-angular-grids/references/structure.md +1 -0
- package/skills/igniteui-angular-grids/references/types.md +2 -1
- package/types/igniteui-angular-grids-core.d.ts +1 -0
- package/types/igniteui-angular-grids-hierarchical-grid.d.ts +2 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.nativeImport = nativeImport;
|
|
4
|
+
/**
|
|
5
|
+
* Native Node dynamic import helper
|
|
6
|
+
* @remarks
|
|
7
|
+
* NB: Import this via a bare specifier (igniteui-angular/migrations/common/import-helper.cjs)
|
|
8
|
+
* to escape the schematics encapsulation for this file and thus the dynamic import inside.
|
|
9
|
+
* This allows to dynamically import ESM modules from outside the schematics host context.
|
|
10
|
+
*/
|
|
11
|
+
function nativeImport(name) {
|
|
12
|
+
return import(name);
|
|
13
|
+
}
|
|
14
|
+
;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** Explicit module map, as generic T can't be resolved to a direct string literal via inference */
|
|
2
|
+
type ModuleMap = {
|
|
3
|
+
'@angular/compiler': typeof import('@angular/compiler', { with: { "resolution-mode": "import" } });
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Native Node dynamic import helper
|
|
7
|
+
* @remarks
|
|
8
|
+
* NB: Import this via a bare specifier (igniteui-angular/migrations/common/import-helper.cjs)
|
|
9
|
+
* to escape the schematics encapsulation for this file and thus the dynamic import inside.
|
|
10
|
+
* This allows to dynamically import ESM modules from outside the schematics host context.
|
|
11
|
+
*/
|
|
12
|
+
export declare function nativeImport<T extends keyof ModuleMap>(name: T): Promise<ModuleMap[T]>;
|
|
13
|
+
export {};
|
|
@@ -11,11 +11,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
const UpdateChanges_1 = require("../common/UpdateChanges");
|
|
13
13
|
const util_1 = require("../common/util");
|
|
14
|
+
// use bare specifier to escape the schematics encapsulation for the dynamic import:
|
|
15
|
+
const import_helper_cjs_1 = require("igniteui-angular/migrations/common/import-helper.cjs");
|
|
14
16
|
const version = '11.0.0';
|
|
15
17
|
exports.default = () => (host, context) => __awaiter(void 0, void 0, void 0, function* () {
|
|
16
18
|
context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
|
|
17
|
-
|
|
18
|
-
const { HtmlParser, getHtmlTagDefinition } = yield import('@angular/compiler');
|
|
19
|
+
const { HtmlParser, getHtmlTagDefinition } = yield (0, import_helper_cjs_1.nativeImport)('@angular/compiler');
|
|
19
20
|
const update = new UpdateChanges_1.UpdateChanges(__dirname, host, context);
|
|
20
21
|
const TAGS = ['igx-grid', 'igx-tree-grid', 'igx-hierarchical-grid'];
|
|
21
22
|
const prop = ['[showToolbar]', 'showToolbar'];
|
|
@@ -11,11 +11,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
const UpdateChanges_1 = require("../common/UpdateChanges");
|
|
13
13
|
const util_1 = require("../common/util");
|
|
14
|
+
// use bare specifier to escape the schematics encapsulation for the dynamic import:
|
|
15
|
+
const import_helper_cjs_1 = require("igniteui-angular/migrations/common/import-helper.cjs");
|
|
14
16
|
const version = '12.0.0';
|
|
15
17
|
exports.default = (options) => (host, context) => __awaiter(void 0, void 0, void 0, function* () {
|
|
16
18
|
context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
|
|
17
|
-
|
|
18
|
-
const { HtmlParser } = yield import('@angular/compiler');
|
|
19
|
+
const { HtmlParser } = yield (0, import_helper_cjs_1.nativeImport)('@angular/compiler');
|
|
19
20
|
// eslint-disable-next-line max-len
|
|
20
21
|
const UPDATE_NOTE = `<!--NOTE: This component has been updated by Infragistics migration: v${version}\nPlease check your template whether all bindings/event handlers are correct.-->\n`;
|
|
21
22
|
const COMPONENTS = [
|
|
@@ -11,12 +11,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
const UpdateChanges_1 = require("../common/UpdateChanges");
|
|
13
13
|
const util_1 = require("../common/util");
|
|
14
|
+
// use bare specifier to escape the schematics encapsulation for the dynamic import:
|
|
15
|
+
const import_helper_cjs_1 = require("igniteui-angular/migrations/common/import-helper.cjs");
|
|
14
16
|
const version = '12.1.0';
|
|
15
17
|
exports.default = () => (host, context) => __awaiter(void 0, void 0, void 0, function* () {
|
|
16
18
|
var _a;
|
|
17
19
|
context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
|
|
18
|
-
|
|
19
|
-
const { HtmlParser, getHtmlTagDefinition } = yield import('@angular/compiler');
|
|
20
|
+
const { HtmlParser, getHtmlTagDefinition } = yield (0, import_helper_cjs_1.nativeImport)('@angular/compiler');
|
|
20
21
|
const update = new UpdateChanges_1.UpdateChanges(__dirname, host, context);
|
|
21
22
|
const TAGS = ['igx-grid', 'igx-tree-grid', 'igx-hierarchical-grid'];
|
|
22
23
|
const prop = ['[paging]', 'paging'];
|
|
@@ -11,6 +11,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
const UpdateChanges_1 = require("../common/UpdateChanges");
|
|
13
13
|
const util_1 = require("../common/util");
|
|
14
|
+
// use bare specifier to escape the schematics encapsulation for the dynamic import:
|
|
15
|
+
const import_helper_cjs_1 = require("igniteui-angular/migrations/common/import-helper.cjs");
|
|
14
16
|
const version = '13.0.0';
|
|
15
17
|
exports.default = (options) => (host, context) => __awaiter(void 0, void 0, void 0, function* () {
|
|
16
18
|
var _a;
|
|
@@ -26,8 +28,7 @@ exports.default = (options) => (host, context) => __awaiter(void 0, void 0, void
|
|
|
26
28
|
'[exportExcel]', 'exportExcel', '[exportExcelText]', 'exportExcelText',
|
|
27
29
|
'[exportCsv]', 'exportCsv', '[exportCsvText]', 'exportCsvText', '[exportText]', 'exportText'];
|
|
28
30
|
const actionsLeft = ['igx-grid-toolbar-advanced-filtering'];
|
|
29
|
-
|
|
30
|
-
const { HtmlParser } = yield import('@angular/compiler');
|
|
31
|
+
const { HtmlParser } = yield (0, import_helper_cjs_1.nativeImport)('@angular/compiler');
|
|
31
32
|
const moduleTsFiles = tsFiles.filter(x => x.endsWith('.module.ts'));
|
|
32
33
|
for (const path of moduleTsFiles) {
|
|
33
34
|
let content = (_a = host.read(path)) === null || _a === void 0 ? void 0 : _a.toString();
|
|
@@ -9,13 +9,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
// use bare specifier to escape the schematics encapsulation for the dynamic import:
|
|
13
|
+
const import_helper_cjs_1 = require("igniteui-angular/migrations/common/import-helper.cjs");
|
|
12
14
|
const UpdateChanges_1 = require("../common/UpdateChanges");
|
|
13
15
|
const util_1 = require("../common/util");
|
|
14
16
|
const version = '13.1.0';
|
|
15
17
|
exports.default = () => (host, context) => __awaiter(void 0, void 0, void 0, function* () {
|
|
16
18
|
context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
|
|
17
|
-
|
|
18
|
-
const { HtmlParser } = yield import('@angular/compiler');
|
|
19
|
+
const { HtmlParser } = yield (0, import_helper_cjs_1.nativeImport)('@angular/compiler');
|
|
19
20
|
const update = new UpdateChanges_1.UpdateChanges(__dirname, host, context);
|
|
20
21
|
const GRID_TAGS = ['igx-grid', 'igx-tree-grid', 'igx-hierarchical-grid', 'igx-row-island'];
|
|
21
22
|
const prop = ['[movable]'];
|
|
@@ -9,13 +9,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
// use bare specifier to escape the schematics encapsulation for the dynamic import:
|
|
13
|
+
const import_helper_cjs_1 = require("igniteui-angular/migrations/common/import-helper.cjs");
|
|
12
14
|
const UpdateChanges_1 = require("../common/UpdateChanges");
|
|
13
15
|
const util_1 = require("../common/util");
|
|
14
16
|
const version = '15.1.0';
|
|
15
17
|
exports.default = (options) => (host, context) => __awaiter(void 0, void 0, void 0, function* () {
|
|
16
18
|
context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
|
|
17
|
-
|
|
18
|
-
const { HtmlParser } = yield import('@angular/compiler');
|
|
19
|
+
const { HtmlParser } = yield (0, import_helper_cjs_1.nativeImport)('@angular/compiler');
|
|
19
20
|
const update = new UpdateChanges_1.UpdateChanges(__dirname, host, context);
|
|
20
21
|
const cardsToMigrate = new Set();
|
|
21
22
|
const CARD_ACTIONS = ['igx-card-actions'];
|
|
@@ -11,11 +11,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
const UpdateChanges_1 = require("../common/UpdateChanges");
|
|
13
13
|
const util_1 = require("../common/util");
|
|
14
|
+
// use bare specifier to escape the schematics encapsulation for the dynamic import:
|
|
15
|
+
const import_helper_cjs_1 = require("igniteui-angular/migrations/common/import-helper.cjs");
|
|
14
16
|
const version = '16.1.0';
|
|
15
17
|
exports.default = () => (host, context) => __awaiter(void 0, void 0, void 0, function* () {
|
|
16
18
|
context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
|
|
17
|
-
|
|
18
|
-
const { HtmlParser } = yield import('@angular/compiler');
|
|
19
|
+
const { HtmlParser } = yield (0, import_helper_cjs_1.nativeImport)('@angular/compiler');
|
|
19
20
|
const update = new UpdateChanges_1.UpdateChanges(__dirname, host, context);
|
|
20
21
|
update.applyChanges();
|
|
21
22
|
const prop = ['[multiSelection]'];
|
|
@@ -44,13 +44,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45
45
|
const ts = __importStar(require("typescript"));
|
|
46
46
|
const UpdateChanges_1 = require("../common/UpdateChanges");
|
|
47
|
+
// use bare specifier to escape the schematics encapsulation for the dynamic import:
|
|
48
|
+
const import_helper_cjs_1 = require("igniteui-angular/migrations/common/import-helper.cjs");
|
|
47
49
|
const tsUtils_1 = require("../common/tsUtils");
|
|
48
50
|
const util_1 = require("../common/util");
|
|
49
51
|
const version = '17.0.0';
|
|
50
52
|
exports.default = () => (host, context) => __awaiter(void 0, void 0, void 0, function* () {
|
|
51
53
|
context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
|
|
52
|
-
|
|
53
|
-
const { HtmlParser } = yield import('@angular/compiler');
|
|
54
|
+
const { HtmlParser } = yield (0, import_helper_cjs_1.nativeImport)('@angular/compiler');
|
|
54
55
|
const update = new UpdateChanges_1.UpdateChanges(__dirname, host, context);
|
|
55
56
|
const changes = new Map();
|
|
56
57
|
const prop = ['type'];
|
|
@@ -11,11 +11,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
const UpdateChanges_1 = require("../common/UpdateChanges");
|
|
13
13
|
const util_1 = require("../common/util");
|
|
14
|
+
// use bare specifier to escape the schematics encapsulation for the dynamic import:
|
|
15
|
+
const import_helper_cjs_1 = require("igniteui-angular/migrations/common/import-helper.cjs");
|
|
14
16
|
const version = '17.1.0';
|
|
15
17
|
exports.default = () => (host, context) => __awaiter(void 0, void 0, void 0, function* () {
|
|
16
18
|
context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
|
|
17
|
-
|
|
18
|
-
const { HtmlParser } = yield import('@angular/compiler');
|
|
19
|
+
const { HtmlParser } = yield (0, import_helper_cjs_1.nativeImport)('@angular/compiler');
|
|
19
20
|
const update = new UpdateChanges_1.UpdateChanges(__dirname, host, context);
|
|
20
21
|
const changes = new Map();
|
|
21
22
|
const tags = ['button', 'span', 'a', 'div', 'igx-prefix', 'igx-suffix'];
|
|
@@ -11,12 +11,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
13
13
|
const util_1 = require("../common/util");
|
|
14
|
+
// use bare specifier to escape the schematics encapsulation for the dynamic import:
|
|
15
|
+
const import_helper_cjs_1 = require("igniteui-angular/migrations/common/import-helper.cjs");
|
|
14
16
|
const UpdateChanges_1 = require("../common/UpdateChanges");
|
|
15
17
|
const version = "18.0.0";
|
|
16
18
|
exports.default = () => (host, context) => __awaiter(void 0, void 0, void 0, function* () {
|
|
17
19
|
context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
|
|
18
|
-
|
|
19
|
-
const { HtmlParser } = yield import('@angular/compiler');
|
|
20
|
+
const { HtmlParser } = yield (0, import_helper_cjs_1.nativeImport)('@angular/compiler');
|
|
20
21
|
const update = new UpdateChanges_1.UpdateChanges(__dirname, host, context);
|
|
21
22
|
const changes = new Map();
|
|
22
23
|
const prop = ["displayDensity", "[displayDensity]"];
|
|
@@ -11,11 +11,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
const UpdateChanges_1 = require("../common/UpdateChanges");
|
|
13
13
|
const util_1 = require("../common/util");
|
|
14
|
+
// use bare specifier to escape the schematics encapsulation for the dynamic import:
|
|
15
|
+
const import_helper_cjs_1 = require("igniteui-angular/migrations/common/import-helper.cjs");
|
|
14
16
|
const version = '20.0.6';
|
|
15
17
|
exports.default = () => (host, context) => __awaiter(void 0, void 0, void 0, function* () {
|
|
16
18
|
context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
|
|
17
|
-
|
|
18
|
-
const { HtmlParser, Element } = yield import('@angular/compiler');
|
|
19
|
+
const { HtmlParser, Element } = yield (0, import_helper_cjs_1.nativeImport)('@angular/compiler');
|
|
19
20
|
const update = new UpdateChanges_1.UpdateChanges(__dirname, host, context);
|
|
20
21
|
const changes = new Map();
|
|
21
22
|
const parser = new HtmlParser();
|
|
@@ -11,10 +11,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
const UpdateChanges_1 = require("../common/UpdateChanges");
|
|
13
13
|
const util_1 = require("../common/util");
|
|
14
|
+
// use bare specifier to escape the schematics encapsulation for the dynamic import:
|
|
15
|
+
const import_helper_cjs_1 = require("igniteui-angular/migrations/common/import-helper.cjs");
|
|
14
16
|
const version = '22.0.0';
|
|
15
17
|
exports.default = () => (host, context) => __awaiter(void 0, void 0, void 0, function* () {
|
|
16
18
|
context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
|
|
17
|
-
const { HtmlParser, Element } = yield
|
|
19
|
+
const { HtmlParser, Element } = yield (0, import_helper_cjs_1.nativeImport)('@angular/compiler');
|
|
18
20
|
const update = new UpdateChanges_1.UpdateChanges(__dirname, host, context);
|
|
19
21
|
const changes = new Map();
|
|
20
22
|
const parser = new HtmlParser();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-angular",
|
|
3
|
-
"version": "22.0.
|
|
3
|
+
"version": "22.0.1",
|
|
4
4
|
"description": "Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps",
|
|
5
5
|
"author": "Infragistics",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
"igxDevDependencies": {
|
|
107
|
-
"@igniteui/angular-schematics": "~22.0.
|
|
107
|
+
"@igniteui/angular-schematics": "~22.0.1540"
|
|
108
108
|
},
|
|
109
109
|
"ng-update": {
|
|
110
110
|
"migrations": "./migrations/migration-collection.json",
|
|
@@ -254,7 +254,14 @@ onDrop(event: IDropDroppedEventArgs) {
|
|
|
254
254
|
Key drag events: `(dragStart)`, `(dragMove)`, `(dragEnd)`, `(dragClick)`, `(ghostCreate)`, `(ghostDestroy)`, `(transitioned)`.
|
|
255
255
|
Key drop events: `(enter)`, `(leave)`, `(over)`, `(dropped)`.
|
|
256
256
|
|
|
257
|
-
> **NOTE:** For touch-based drag,
|
|
257
|
+
> **NOTE (optional):** For touch-based drag, install `hammerjs` and add it to the `scripts` array in `angular.json`.
|
|
258
|
+
> ```bash
|
|
259
|
+
> npm install hammerjs
|
|
260
|
+
> ```
|
|
261
|
+
> ```json
|
|
262
|
+
> // angular.json — inside your project's architect.build.options
|
|
263
|
+
> "scripts": ["./node_modules/hammerjs/hammer.min.js"]
|
|
264
|
+
> ```
|
|
258
265
|
|
|
259
266
|
## See Also
|
|
260
267
|
|
|
@@ -43,7 +43,17 @@ export const appConfig: ApplicationConfig = {
|
|
|
43
43
|
| Provider | Package | Required for |
|
|
44
44
|
|---|---|---|
|
|
45
45
|
| `provideAnimations()` | `@angular/platform-browser/animations` | **All overlay and animated components** — Dialog, Combo, Select, Dropdown, Date/Time Picker, Snackbar, Toast, Banner, Navigation Drawer, Carousel, Overlay service |
|
|
46
|
-
|
|
46
|
+
|
|
47
|
+
> **Touch gestures** (Optional) (Slider, Drag & Drop, swipe) - To enable touch gesture support, install the `hammerjs` package and add it to the `scripts` array in your `angular.json`:
|
|
48
|
+
>
|
|
49
|
+
> ```bash
|
|
50
|
+
> npm install hammerjs
|
|
51
|
+
> ```
|
|
52
|
+
>
|
|
53
|
+
> ```json
|
|
54
|
+
> // angular.json — inside your project's architect.build.options
|
|
55
|
+
> "scripts": ["./node_modules/hammerjs/hammer.min.js"]
|
|
56
|
+
> ```
|
|
47
57
|
|
|
48
58
|
> **`provideAnimationsAsync()`** lazy-loads the animations module — prefer it for SSR or when optimizing initial bundle size:
|
|
49
59
|
> ```typescript
|
|
@@ -212,3 +212,4 @@ igx-grid {
|
|
|
212
212
|
- Use `null` for height only when the data set is small; row virtualization is disabled and large data will hurt performance.
|
|
213
213
|
- When using percentage height, the parent **must** have an explicit height for the percentage to resolve correctly. Without it, the grid falls back to 10 visible rows.
|
|
214
214
|
- A mix of fixed-width and auto-sized columns is valid — auto-sized columns fill the remaining space after fixed-width columns are laid out.
|
|
215
|
+
- **Omit `width` on generated columns.** No `width` = columns equally share available grid width. Pixel widths leave empty space when their sum is less than the grid width. Only set `width` when the user explicitly asks for it. If column widths are used, at least one column must not have a specified width so that it fills the remaining space in the grid.
|
|
@@ -263,6 +263,7 @@ Events: `(rowSelectionChanging)`, `(columnSelectionChanging)`, `(selected)` (cel
|
|
|
263
263
|
6. **Set `dataType` on every column** for correct filtering, sorting, editing, and summaries
|
|
264
264
|
7. **Use signals** for data binding — `[data]="myData()"` with `signal<T[]>([])`
|
|
265
265
|
8. **Virtualization is automatic** — don't wrap grids in virtual scroll containers
|
|
266
|
+
9. **Omit `width` on generated `<igx-column>` elements.** Columns without `width` equally share available grid width. Only set `width` when the user explicitly asks for fixed or percentage column sizing. If column widths are used, at least one column must not have a specified width so that it fills the remaining space in the grid.
|
|
266
267
|
|
|
267
268
|
## See Also
|
|
268
269
|
|
|
@@ -247,7 +247,7 @@ Columns use `<igx-grid-lite-column>` with these inputs:
|
|
|
247
247
|
| `field` | `string` | Data property key (required) |
|
|
248
248
|
| `dataType` | `'string' \| 'number' \| 'boolean' \| 'date'` | Column data type |
|
|
249
249
|
| `header` | `string` | Header text |
|
|
250
|
-
| `width` | `string` | CSS width (e.g
|
|
250
|
+
| `width` | `string` | CSS width — omit by default; columns auto-fill available grid space. Only set when a fixed or percentage width is explicitly needed (e.g. `'20%'`). |
|
|
251
251
|
| `hidden` | `boolean` | Hide the column |
|
|
252
252
|
| `resizable` | `boolean` | Allow column resizing |
|
|
253
253
|
| `sortable` | `boolean` | Enable sorting |
|
|
@@ -487,6 +487,7 @@ Provide a drag-and-drop UI for users to reshape the pivot interactively:
|
|
|
487
487
|
2. **Hierarchical Grid**: sorting/filtering/paging are independent per level; configure features on the `<igx-row-island>` blueprint
|
|
488
488
|
3. **Pivot Grid is read-only** — editing, paging, pinning, column moving, row dragging are all disabled; use `pivotConfiguration` for all data operations
|
|
489
489
|
4. **Grid Lite requires `CUSTOM_ELEMENTS_SCHEMA`** and `igniteui-grid-lite` npm package — it has no editing, selection, paging, or export
|
|
490
|
+
5. **Omit `width` on generated `<igx-grid-lite-column>` elements.** Columns without `width` equally share available grid width. Only set `width` when the user explicitly asks for it. If column widths are used, at least one column must not have a specified width so that it fills the remaining space in the grid.
|
|
490
491
|
|
|
491
492
|
## See Also
|
|
492
493
|
|
|
@@ -6155,6 +6155,7 @@ declare class IgxExcelStyleSearchComponent implements AfterViewInit, OnDestroy {
|
|
|
6155
6155
|
private onActionKeyDown;
|
|
6156
6156
|
private navigateItem;
|
|
6157
6157
|
private isIndexOutOfBounds;
|
|
6158
|
+
private isTreeGridWithGroupBy;
|
|
6158
6159
|
private isRemote;
|
|
6159
6160
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxExcelStyleSearchComponent, never>;
|
|
6160
6161
|
static ɵcmp: i0.ɵɵComponentDeclaration<IgxExcelStyleSearchComponent, "igx-excel-style-search", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -710,6 +710,8 @@ declare class IgxHierarchicalGridComponent extends IgxHierarchicalGridBaseDirect
|
|
|
710
710
|
* @hidden
|
|
711
711
|
*/
|
|
712
712
|
ngOnInit(): void;
|
|
713
|
+
protected onLifecyclePlaceholderConnected(): void;
|
|
714
|
+
protected onLifecyclePlaceholderDisconnected(): void;
|
|
713
715
|
/**
|
|
714
716
|
* @hidden
|
|
715
717
|
*/
|