@bryntum/grid-trial 7.2.2 → 7.2.4

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.
Files changed (69) hide show
  1. package/fluent2-dark.css +1 -1
  2. package/fluent2-light.css +1 -1
  3. package/grid.css +2 -2
  4. package/grid.d.ts +172 -118
  5. package/grid.lwc.module.d.ts +1 -1
  6. package/grid.lwc.module.js +2 -2
  7. package/grid.module.d.ts +1 -1
  8. package/grid.module.js +41 -41
  9. package/grid.thin.d.ts +87 -113
  10. package/grid.umd.d.ts +1 -1
  11. package/grid.umd.js +48 -48
  12. package/grid.wc.module.d.ts +1 -1
  13. package/grid.wc.module.js +40 -40
  14. package/high-contrast-dark.css +2 -2
  15. package/high-contrast-light.css +2 -2
  16. package/locales/grid.locale.Ar.js +1 -1
  17. package/locales/grid.locale.Bg.js +1 -1
  18. package/locales/grid.locale.Ca.js +1 -1
  19. package/locales/grid.locale.Cs.js +1 -1
  20. package/locales/grid.locale.Da.js +1 -1
  21. package/locales/grid.locale.De.js +1 -1
  22. package/locales/grid.locale.El.js +1 -1
  23. package/locales/grid.locale.En.js +1 -1
  24. package/locales/grid.locale.EnGb.js +1 -1
  25. package/locales/grid.locale.Es.js +1 -1
  26. package/locales/grid.locale.Et.js +1 -1
  27. package/locales/grid.locale.Eu.js +1 -1
  28. package/locales/grid.locale.Fi.js +1 -1
  29. package/locales/grid.locale.FrFr.js +1 -1
  30. package/locales/grid.locale.Gl.js +1 -1
  31. package/locales/grid.locale.He.js +1 -1
  32. package/locales/grid.locale.Hi.js +1 -1
  33. package/locales/grid.locale.Hr.js +1 -1
  34. package/locales/grid.locale.Hu.js +1 -1
  35. package/locales/grid.locale.Id.js +1 -1
  36. package/locales/grid.locale.It.js +1 -1
  37. package/locales/grid.locale.Ja.js +1 -1
  38. package/locales/grid.locale.Kk.js +1 -1
  39. package/locales/grid.locale.Ko.js +1 -1
  40. package/locales/grid.locale.Lt.js +1 -1
  41. package/locales/grid.locale.Lv.js +1 -1
  42. package/locales/grid.locale.Ms.js +1 -1
  43. package/locales/grid.locale.Nl.js +1 -1
  44. package/locales/grid.locale.No.js +1 -1
  45. package/locales/grid.locale.Pl.js +1 -1
  46. package/locales/grid.locale.Pt.js +1 -1
  47. package/locales/grid.locale.PtBr.js +1 -1
  48. package/locales/grid.locale.Ro.js +1 -1
  49. package/locales/grid.locale.Ru.js +1 -1
  50. package/locales/grid.locale.Sk.js +1 -1
  51. package/locales/grid.locale.Sl.js +1 -1
  52. package/locales/grid.locale.Sr.js +1 -1
  53. package/locales/grid.locale.SrRs.js +1 -1
  54. package/locales/grid.locale.SvSE.js +1 -1
  55. package/locales/grid.locale.Th.js +1 -1
  56. package/locales/grid.locale.Tr.js +1 -1
  57. package/locales/grid.locale.Uk.js +1 -1
  58. package/locales/grid.locale.Vi.js +1 -1
  59. package/locales/grid.locale.ZhCn.js +1 -1
  60. package/locales/grid.locale.ZhTw.js +1 -1
  61. package/material3-dark.css +2 -2
  62. package/material3-light.css +2 -2
  63. package/package.json +1 -1
  64. package/stockholm-dark.css +1 -1
  65. package/stockholm-light.css +1 -1
  66. package/svalbard-dark.css +1 -1
  67. package/svalbard-light.css +1 -1
  68. package/visby-dark.css +2 -2
  69. package/visby-light.css +2 -2
package/grid.thin.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Bryntum Grid 7.2.2 (TRIAL VERSION)
3
+ * Bryntum Grid 7.2.4 (TRIAL VERSION)
4
4
  *
5
5
  * Copyright(c) 2026 Bryntum AB
6
6
  * https://bryntum.com/contact
@@ -1059,12 +1059,9 @@ type ActionColumnConfig = {
1059
1059
  */
1060
1060
  cellMenuItems?: Record<string, MenuItemEntry>
1061
1061
  /**
1062
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
1063
- * tasks.
1064
- * ...
1065
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/ActionColumn#config-children)
1062
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
1066
1063
  */
1067
- children?: boolean|object[]|Model[]
1064
+ children?: GridColumnConfig[]|Column[]
1068
1065
  /**
1069
1066
  * CSS class added to the header of this column
1070
1067
  */
@@ -1195,8 +1192,9 @@ type ActionColumnConfig = {
1195
1192
  * @param {object} renderData
1196
1193
  * @param {Grid.column.Column} renderData.column This column
1197
1194
  * @param {HTMLElement} renderData.headerElement The header element
1195
+ * @returns {string,object,void,void} The text or markup to show in the column header
1198
1196
  */
1199
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
1197
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
1200
1198
  /**
1201
1199
  * An array of the widgets to append to the column header. These widgets have this Column instance
1202
1200
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -1737,12 +1735,9 @@ type AggregateColumnConfig = {
1737
1735
  */
1738
1736
  cellMenuItems?: Record<string, MenuItemEntry>
1739
1737
  /**
1740
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
1741
- * tasks.
1742
- * ...
1743
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/AggregateColumn#config-children)
1738
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
1744
1739
  */
1745
- children?: boolean|object[]|Model[]
1740
+ children?: GridColumnConfig[]|Column[]
1746
1741
  /**
1747
1742
  * CSS class added to the header of this column
1748
1743
  */
@@ -1914,8 +1909,9 @@ type AggregateColumnConfig = {
1914
1909
  * @param {object} renderData
1915
1910
  * @param {Grid.column.Column} renderData.column This column
1916
1911
  * @param {HTMLElement} renderData.headerElement The header element
1912
+ * @returns {string,object,void,void} The text or markup to show in the column header
1917
1913
  */
1918
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
1914
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
1919
1915
  /**
1920
1916
  * An array of the widgets to append to the column header. These widgets have this Column instance
1921
1917
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -2527,12 +2523,9 @@ type ChartColumnConfig = {
2527
2523
  */
2528
2524
  chartCls?: string
2529
2525
  /**
2530
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
2531
- * tasks.
2532
- * ...
2533
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/ChartColumn#config-children)
2526
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
2534
2527
  */
2535
- children?: boolean|object[]|Model[]
2528
+ children?: GridColumnConfig[]|Column[]
2536
2529
  /**
2537
2530
  * CSS class added to the header of this column
2538
2531
  */
@@ -2684,8 +2677,9 @@ type ChartColumnConfig = {
2684
2677
  * @param {object} renderData
2685
2678
  * @param {Grid.column.Column} renderData.column This column
2686
2679
  * @param {HTMLElement} renderData.headerElement The header element
2680
+ * @returns {string,object,void,void} The text or markup to show in the column header
2687
2681
  */
2688
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
2682
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
2689
2683
  /**
2690
2684
  * An array of the widgets to append to the column header. These widgets have this Column instance
2691
2685
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -3302,12 +3296,9 @@ type CheckColumnConfig = {
3302
3296
  */
3303
3297
  checkCls?: string
3304
3298
  /**
3305
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
3306
- * tasks.
3307
- * ...
3308
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/CheckColumn#config-children)
3299
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
3309
3300
  */
3310
- children?: boolean|object[]|Model[]
3301
+ children?: GridColumnConfig[]|Column[]
3311
3302
  /**
3312
3303
  * CSS class added to the header of this column
3313
3304
  */
@@ -3459,8 +3450,9 @@ type CheckColumnConfig = {
3459
3450
  * @param {object} renderData
3460
3451
  * @param {Grid.column.Column} renderData.column This column
3461
3452
  * @param {HTMLElement} renderData.headerElement The header element
3453
+ * @returns {string,object,void,void} The text or markup to show in the column header
3462
3454
  */
3463
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
3455
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
3464
3456
  /**
3465
3457
  * An array of the widgets to append to the column header. These widgets have this Column instance
3466
3458
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -4089,12 +4081,9 @@ type ColorColumnConfig = {
4089
4081
  */
4090
4082
  cellMenuItems?: Record<string, MenuItemEntry>
4091
4083
  /**
4092
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
4093
- * tasks.
4094
- * ...
4095
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/ColorColumn#config-children)
4084
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
4096
4085
  */
4097
- children?: boolean|object[]|Model[]
4086
+ children?: GridColumnConfig[]|Column[]
4098
4087
  /**
4099
4088
  * CSS class added to the header of this column
4100
4089
  */
@@ -4249,8 +4238,9 @@ type ColorColumnConfig = {
4249
4238
  * @param {object} renderData
4250
4239
  * @param {Grid.column.Column} renderData.column This column
4251
4240
  * @param {HTMLElement} renderData.headerElement The header element
4241
+ * @returns {string,object,void,void} The text or markup to show in the column header
4252
4242
  */
4253
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
4243
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
4254
4244
  /**
4255
4245
  * An array of the widgets to append to the column header. These widgets have this Column instance
4256
4246
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -4827,12 +4817,9 @@ type ColumnConfig = {
4827
4817
  */
4828
4818
  cellMenuItems?: Record<string, MenuItemEntry>
4829
4819
  /**
4830
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
4831
- * tasks.
4832
- * ...
4833
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-children)
4820
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
4834
4821
  */
4835
- children?: boolean|object[]|Model[]
4822
+ children?: GridColumnConfig[]|Column[]
4836
4823
  /**
4837
4824
  * CSS class added to the header of this column
4838
4825
  */
@@ -4984,8 +4971,9 @@ type ColumnConfig = {
4984
4971
  * @param {object} renderData
4985
4972
  * @param {Grid.column.Column} renderData.column This column
4986
4973
  * @param {HTMLElement} renderData.headerElement The header element
4974
+ * @returns {string,object,void,void} The text or markup to show in the column header
4987
4975
  */
4988
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
4976
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
4989
4977
  /**
4990
4978
  * An array of the widgets to append to the column header. These widgets have this Column instance
4991
4979
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -5393,6 +5381,12 @@ export class Column extends Model {
5393
5381
  * Set to `true` to call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
5394
5382
  */
5395
5383
  callOnFunctions: boolean
5384
+ /**
5385
+ * Returns `true` if this column can currently be sorted by the user.
5386
+ * Checks both the column's own [sortable](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-sortable) config and whether the
5387
+ * [Sort](https://bryntum.com/products/grid/docs/api/Grid/feature/Sort) feature is enabled on the grid.
5388
+ */
5389
+ readonly canSort: boolean
5396
5390
  /**
5397
5391
  * By default, if an event handler throws an exception, the error propagates up the stack and the
5398
5392
  * application state is undefined. Code which follows the event handler will *not* be executed.
@@ -5533,7 +5527,7 @@ export class Column extends Model {
5533
5527
  /**
5534
5528
  * Renderer function for the column header.
5535
5529
  */
5536
- headerRenderer: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
5530
+ headerRenderer: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
5537
5531
  /**
5538
5532
  * An array of the widgets to append to the column header. These widgets have this Column instance
5539
5533
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -6113,12 +6107,9 @@ type CurrencyColumnConfig = {
6113
6107
  */
6114
6108
  cellMenuItems?: Record<string, MenuItemEntry>
6115
6109
  /**
6116
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
6117
- * tasks.
6118
- * ...
6119
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/CurrencyColumn#config-children)
6110
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
6120
6111
  */
6121
- children?: boolean|object[]|Model[]
6112
+ children?: GridColumnConfig[]|Column[]
6122
6113
  /**
6123
6114
  * CSS class added to the header of this column
6124
6115
  */
@@ -6281,8 +6272,9 @@ type CurrencyColumnConfig = {
6281
6272
  * @param {object} renderData
6282
6273
  * @param {Grid.column.Column} renderData.column This column
6283
6274
  * @param {HTMLElement} renderData.headerElement The header element
6275
+ * @returns {string,object,void,void} The text or markup to show in the column header
6284
6276
  */
6285
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
6277
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
6286
6278
  /**
6287
6279
  * An array of the widgets to append to the column header. These widgets have this Column instance
6288
6280
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -6870,12 +6862,9 @@ type DateColumnConfig = {
6870
6862
  */
6871
6863
  cellMenuItems?: Record<string, MenuItemEntry>
6872
6864
  /**
6873
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
6874
- * tasks.
6875
- * ...
6876
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/DateColumn#config-children)
6865
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
6877
6866
  */
6878
- children?: boolean|object[]|Model[]
6867
+ children?: GridColumnConfig[]|Column[]
6879
6868
  /**
6880
6869
  * CSS class added to the header of this column
6881
6870
  */
@@ -7033,8 +7022,9 @@ type DateColumnConfig = {
7033
7022
  * @param {object} renderData
7034
7023
  * @param {Grid.column.Column} renderData.column This column
7035
7024
  * @param {HTMLElement} renderData.headerElement The header element
7025
+ * @returns {string,object,void,void} The text or markup to show in the column header
7036
7026
  */
7037
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
7027
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
7038
7028
  /**
7039
7029
  * An array of the widgets to append to the column header. These widgets have this Column instance
7040
7030
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -7633,12 +7623,9 @@ type NumberColumnConfig = {
7633
7623
  */
7634
7624
  cellMenuItems?: Record<string, MenuItemEntry>
7635
7625
  /**
7636
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
7637
- * tasks.
7638
- * ...
7639
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/NumberColumn#config-children)
7626
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
7640
7627
  */
7641
- children?: boolean|object[]|Model[]
7628
+ children?: GridColumnConfig[]|Column[]
7642
7629
  /**
7643
7630
  * CSS class added to the header of this column
7644
7631
  */
@@ -7796,8 +7783,9 @@ type NumberColumnConfig = {
7796
7783
  * @param {object} renderData
7797
7784
  * @param {Grid.column.Column} renderData.column This column
7798
7785
  * @param {HTMLElement} renderData.headerElement The header element
7786
+ * @returns {string,object,void,void} The text or markup to show in the column header
7799
7787
  */
7800
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
7788
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
7801
7789
  /**
7802
7790
  * An array of the widgets to append to the column header. These widgets have this Column instance
7803
7791
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -8412,12 +8400,9 @@ type PercentColumnConfig = {
8412
8400
  */
8413
8401
  cellMenuItems?: Record<string, MenuItemEntry>
8414
8402
  /**
8415
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
8416
- * tasks.
8417
- * ...
8418
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/PercentColumn#config-children)
8403
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
8419
8404
  */
8420
- children?: boolean|object[]|Model[]
8405
+ children?: GridColumnConfig[]|Column[]
8421
8406
  /**
8422
8407
  * CSS class added to the header of this column
8423
8408
  */
@@ -8575,8 +8560,9 @@ type PercentColumnConfig = {
8575
8560
  * @param {object} renderData
8576
8561
  * @param {Grid.column.Column} renderData.column This column
8577
8562
  * @param {HTMLElement} renderData.headerElement The header element
8563
+ * @returns {string,object,void,void} The text or markup to show in the column header
8578
8564
  */
8579
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
8565
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
8580
8566
  /**
8581
8567
  * An array of the widgets to append to the column header. These widgets have this Column instance
8582
8568
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -9178,12 +9164,9 @@ type RatingColumnConfig = {
9178
9164
  */
9179
9165
  cellMenuItems?: Record<string, MenuItemEntry>
9180
9166
  /**
9181
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
9182
- * tasks.
9183
- * ...
9184
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/RatingColumn#config-children)
9167
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
9185
9168
  */
9186
- children?: boolean|object[]|Model[]
9169
+ children?: GridColumnConfig[]|Column[]
9187
9170
  /**
9188
9171
  * CSS class added to the header of this column
9189
9172
  */
@@ -9353,8 +9336,9 @@ type RatingColumnConfig = {
9353
9336
  * @param {object} renderData
9354
9337
  * @param {Grid.column.Column} renderData.column This column
9355
9338
  * @param {HTMLElement} renderData.headerElement The header element
9339
+ * @returns {string,object,void,void} The text or markup to show in the column header
9356
9340
  */
9357
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
9341
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
9358
9342
  /**
9359
9343
  * An array of the widgets to append to the column header. These widgets have this Column instance
9360
9344
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -9935,12 +9919,9 @@ type RowNumberColumnConfig = {
9935
9919
  */
9936
9920
  cellMenuItems?: Record<string, MenuItemEntry>
9937
9921
  /**
9938
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
9939
- * tasks.
9940
- * ...
9941
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/RowNumberColumn#config-children)
9922
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
9942
9923
  */
9943
- children?: boolean|object[]|Model[]
9924
+ children?: GridColumnConfig[]|Column[]
9944
9925
  /**
9945
9926
  * CSS class added to the header of this column
9946
9927
  */
@@ -10033,8 +10014,9 @@ type RowNumberColumnConfig = {
10033
10014
  * @param {object} renderData
10034
10015
  * @param {Grid.column.Column} renderData.column This column
10035
10016
  * @param {HTMLElement} renderData.headerElement The header element
10017
+ * @returns {string,object,void,void} The text or markup to show in the column header
10036
10018
  */
10037
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
10019
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
10038
10020
  /**
10039
10021
  * An array of the widgets to append to the column header. These widgets have this Column instance
10040
10022
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -10544,12 +10526,9 @@ type SparklineColumnConfig = {
10544
10526
  */
10545
10527
  chartType?: 'line'|'bar'|'pie'
10546
10528
  /**
10547
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
10548
- * tasks.
10549
- * ...
10550
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/SparklineColumn#config-children)
10529
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
10551
10530
  */
10552
- children?: boolean|object[]|Model[]
10531
+ children?: GridColumnConfig[]|Column[]
10553
10532
  /**
10554
10533
  * CSS class added to the header of this column
10555
10534
  */
@@ -10701,8 +10680,9 @@ type SparklineColumnConfig = {
10701
10680
  * @param {object} renderData
10702
10681
  * @param {Grid.column.Column} renderData.column This column
10703
10682
  * @param {HTMLElement} renderData.headerElement The header element
10683
+ * @returns {string,object,void,void} The text or markup to show in the column header
10704
10684
  */
10705
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
10685
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
10706
10686
  /**
10707
10687
  * An array of the widgets to append to the column header. These widgets have this Column instance
10708
10688
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -11268,12 +11248,9 @@ type TemplateColumnConfig = {
11268
11248
  */
11269
11249
  cellMenuItems?: Record<string, MenuItemEntry>
11270
11250
  /**
11271
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
11272
- * tasks.
11273
- * ...
11274
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/TemplateColumn#config-children)
11251
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
11275
11252
  */
11276
- children?: boolean|object[]|Model[]
11253
+ children?: GridColumnConfig[]|Column[]
11277
11254
  /**
11278
11255
  * CSS class added to the header of this column
11279
11256
  */
@@ -11425,8 +11402,9 @@ type TemplateColumnConfig = {
11425
11402
  * @param {object} renderData
11426
11403
  * @param {Grid.column.Column} renderData.column This column
11427
11404
  * @param {HTMLElement} renderData.headerElement The header element
11405
+ * @returns {string,object,void,void} The text or markup to show in the column header
11428
11406
  */
11429
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
11407
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
11430
11408
  /**
11431
11409
  * An array of the widgets to append to the column header. These widgets have this Column instance
11432
11410
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -11992,12 +11970,9 @@ type TimeColumnConfig = {
11992
11970
  */
11993
11971
  cellMenuItems?: Record<string, MenuItemEntry>
11994
11972
  /**
11995
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
11996
- * tasks.
11997
- * ...
11998
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/TimeColumn#config-children)
11973
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
11999
11974
  */
12000
- children?: boolean|object[]|Model[]
11975
+ children?: GridColumnConfig[]|Column[]
12001
11976
  /**
12002
11977
  * CSS class added to the header of this column
12003
11978
  */
@@ -12154,8 +12129,9 @@ type TimeColumnConfig = {
12154
12129
  * @param {object} renderData
12155
12130
  * @param {Grid.column.Column} renderData.column This column
12156
12131
  * @param {HTMLElement} renderData.headerElement The header element
12132
+ * @returns {string,object,void,void} The text or markup to show in the column header
12157
12133
  */
12158
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
12134
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
12159
12135
  /**
12160
12136
  * An array of the widgets to append to the column header. These widgets have this Column instance
12161
12137
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -12713,12 +12689,9 @@ type TreeColumnConfig = {
12713
12689
  */
12714
12690
  cellMenuItems?: Record<string, MenuItemEntry>
12715
12691
  /**
12716
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
12717
- * tasks.
12718
- * ...
12719
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/TreeColumn#config-children)
12692
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
12720
12693
  */
12721
- children?: boolean|object[]|Model[]
12694
+ children?: GridColumnConfig[]|Column[]
12722
12695
  /**
12723
12696
  * CSS class added to the header of this column
12724
12697
  */
@@ -12886,8 +12859,9 @@ type TreeColumnConfig = {
12886
12859
  * @param {object} renderData
12887
12860
  * @param {Grid.column.Column} renderData.column This column
12888
12861
  * @param {HTMLElement} renderData.headerElement The header element
12862
+ * @returns {string,object,void,void} The text or markup to show in the column header
12889
12863
  */
12890
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
12864
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
12891
12865
  /**
12892
12866
  * An array of the widgets to append to the column header. These widgets have this Column instance
12893
12867
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -13488,12 +13462,9 @@ type WidgetColumnConfig = {
13488
13462
  */
13489
13463
  cellMenuItems?: Record<string, MenuItemEntry>
13490
13464
  /**
13491
- * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
13492
- * tasks.
13493
- * ...
13494
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/column/WidgetColumn#config-children)
13465
+ * Child columns. To create grouped headers, specify an array of column configs as children of a parent column.
13495
13466
  */
13496
- children?: boolean|object[]|Model[]
13467
+ children?: GridColumnConfig[]|Column[]
13497
13468
  /**
13498
13469
  * CSS class added to the header of this column
13499
13470
  */
@@ -13645,8 +13616,9 @@ type WidgetColumnConfig = {
13645
13616
  * @param {object} renderData
13646
13617
  * @param {Grid.column.Column} renderData.column This column
13647
13618
  * @param {HTMLElement} renderData.headerElement The header element
13619
+ * @returns {string,object,void,void} The text or markup to show in the column header
13648
13620
  */
13649
- headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|null|void
13621
+ headerRenderer?: (renderData: { column: Column, headerElement: HTMLElement }) => string|object|void
13650
13622
  /**
13651
13623
  * An array of the widgets to append to the column header. These widgets have this Column instance
13652
13624
  * as their `owner` which can be used to reference the column, and the owning Grid via `this.owner.grid`.
@@ -14730,6 +14702,13 @@ type ColumnStoreConfig = {
14730
14702
  * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/data/ColumnStore#config-catchEventHandlerExceptions)
14731
14703
  */
14732
14704
  catchEventHandlerExceptions?: boolean
14705
+ /**
14706
+ * Set to `true` to have the chained store react to expand/collapse changes in the master store.
14707
+ * By default, expand/collapse in the master store does not trigger a refill of the chained store.
14708
+ * ...
14709
+ * [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/data/ColumnStore#config-chainExpandCollapse)
14710
+ */
14711
+ chainExpandCollapse?: boolean
14733
14712
  /**
14734
14713
  * If `true`, chained stores will apply filters from the master store. Filters flagged with `ignoreForChain`
14735
14714
  * will be ignored.
@@ -15458,16 +15437,11 @@ export class ColumnStore extends Store {
15458
15437
  */
15459
15438
  static registerColumnType(columnClass: Function, simpleRenderer?: boolean): void;
15460
15439
  /**
15461
- * Get column by field. To be sure that you are getting exactly the intended column, use [Store#getById()](https://bryntum.com/products/grid/docs/api/Core/data/Store#function-getById) with the
15462
- * columns id instead.
15440
+ * Get column by field. To be sure that you are getting exactly the intended column, use
15441
+ * [getById](https://bryntum.com/products/grid/docs/api/Core/data/Store#function-getById) with the columns id instead.
15463
15442
  * @param {string} field Field name
15464
15443
  */
15465
15444
  get(field: string): Column;
15466
- /**
15467
- * Get column by id.
15468
- * @param {string,number} id
15469
- */
15470
- getById(id: string|number): Column;
15471
15445
  /**
15472
15446
  * indexOf extended to also accept a columns field, for backward compatibility.
15473
15447
  * @param {Core.data.Model,string} recordOrId
@@ -21549,7 +21523,7 @@ export class LockRows extends Split {
21549
21523
  */
21550
21524
  readonly isLockRows: boolean
21551
21525
  /**
21552
- * Locking rows leads to two chained stores that holds a subset of the records, one for the locked records and one
21526
+ * Locking rows results in two chained stores that holds a subset of the records, one for the locked records and one
21553
21527
  * for the rest. This property holds the original store, if you need to access it.
21554
21528
  */
21555
21529
  originalStore: Store
@@ -38303,7 +38277,7 @@ export class GridBase extends Panel {
38303
38277
  */
38304
38278
  longPressTime: number
38305
38279
  /**
38306
- * Locking rows leads to two chained stores that holds a subset of the records, one for the locked records and one
38280
+ * Locking rows results in two chained stores that holds a subset of the records, one for the locked records and one
38307
38281
  * for the rest. This property holds the original store, if you need to access it.
38308
38282
  */
38309
38283
  originalStore: Store
package/grid.umd.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Bryntum Grid 7.2.2 (TRIAL VERSION)
3
+ * Bryntum Grid 7.2.4 (TRIAL VERSION)
4
4
  *
5
5
  * Copyright(c) 2026 Bryntum AB
6
6
  * https://bryntum.com/contact