igniteui-webcomponents-grids 6.0.3 → 6.0.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.
@@ -148,6 +148,12 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
148
148
  *
149
149
  * @example
150
150
  * ```html
151
+ * <ng-template igxGridEmpty>
152
+ * <!-- content to show when the grid is empty -->
153
+ * </ng-template>
154
+ * ```
155
+ * Or
156
+ * ```html
151
157
  * <igx-grid [id]="'igx-grid-1'" [data]="Data" [emptyGridTemplate]="myTemplate" [autoGenerate]="true"></igx-grid>
152
158
  * ```
153
159
  */
@@ -174,6 +180,12 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
174
180
  *
175
181
  * @example
176
182
  * ```html
183
+ * <ng-template igxGridLoading>
184
+ * <!-- content to show when the grid is loading -->
185
+ * </ng-template>
186
+ * ```
187
+ * Or
188
+ * ```html
177
189
  * <igx-grid [id]="'igx-grid-1'" [data]="Data" [loadingGridTemplate]="myTemplate" [autoGenerate]="true"></igx-grid>
178
190
  * ```
179
191
  */
@@ -16,15 +16,15 @@ import { IgcGroupByResult } from './igc-group-by-result';
16
16
 
17
17
 
18
18
  /* blazorCSSuppress */
19
- /**
20
- * The method groups the provided data based on the given grouping state and returns the result.
21
- * `data`: The array of data to be grouped. Could be of any type.
22
- * `state`: The grouping state that defines the grouping settings and expressions.
23
- * `grid`: (Optional) The instance of the grid where the grouping is applied.
24
- * `groupsRecords`: (Optional) An array that holds the records for each group.
25
- * `fullResult`: (Optional) The complete result of grouping including groups and summary data.
26
- * Returns an object containing the result of the grouping operation.
27
- */
19
+ /**
20
+ * The method groups the provided data based on the given grouping state and returns the result.
21
+ * `data`: The array of data to be grouped. Could be of any type.
22
+ * `state`: The grouping state that defines the grouping settings and expressions.
23
+ * `grid`: (Optional) The instance of the grid where the grouping is applied.
24
+ * `groupsRecords`: (Optional) An array that holds the records for each group.
25
+ * `fullResult`: (Optional) The complete result of grouping including groups and summary data.
26
+ * Returns an object containing the result of the grouping operation.
27
+ */
28
28
  public groupBy(data: any[], state: IgcGroupingState, grid?: any, groupsRecords?: any[], fullResult?: IgcGroupByResult): IgcGroupByResult;
29
29
 
30
30
  }
@@ -16,12 +16,12 @@ import { IgcGridBaseDirective } from './igc-grid-base-directive';
16
16
 
17
17
 
18
18
  /* blazorCSSuppress */
19
- /**
20
- * `data`: The array of data to be sorted. Could be of any type.
21
- * `expressions`: An array of sorting expressions that define the sorting rules. The expression contains information like file name, whether the letter case should be taken into account, etc.
22
- * `grid`: (Optional) The instance of the grid where the sorting is applied.
23
- * Returns a new array with the data sorted according to the sorting expressions.
24
- */
19
+ /**
20
+ * `data`: The array of data to be sorted. Could be of any type.
21
+ * `expressions`: An array of sorting expressions that define the sorting rules. The expression contains information like file name, whether the letter case should be taken into account, etc.
22
+ * `grid`: (Optional) The instance of the grid where the sorting is applied.
23
+ * Returns a new array with the data sorted according to the sorting expressions.
24
+ */
25
25
  public sort(data: any[], expressions: IgcSortingExpression[], grid?: IgcGridBaseDirective): any[];
26
26
 
27
27
  }
@@ -270,6 +270,12 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
270
270
  *
271
271
  * @example
272
272
  * ```html
273
+ * <ng-template igxGridEmpty>
274
+ * <!-- content to show when the grid is empty -->
275
+ * </ng-template>
276
+ * ```
277
+ * Or
278
+ * ```html
273
279
  * <igx-grid [id]="'igx-grid-1'" [data]="Data" [emptyGridTemplate]="myTemplate" [autoGenerate]="true"></igx-grid>
274
280
  * ```
275
281
  */
@@ -296,6 +302,12 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
296
302
  *
297
303
  * @example
298
304
  * ```html
305
+ * <ng-template igxGridLoading>
306
+ * <!-- content to show when the grid is loading -->
307
+ * </ng-template>
308
+ * ```
309
+ * Or
310
+ * ```html
299
311
  * <igx-grid [id]="'igx-grid-1'" [data]="Data" [loadingGridTemplate]="myTemplate" [autoGenerate]="true"></igx-grid>
300
312
  * ```
301
313
  */