Skip to content

Commit 764fbad

Browse files
committed
fix(groupby): Makes newly introduced method name not so general #5643
1 parent 4758df1 commit 764fbad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/grids/grid/grid.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ export class IgxGridComponent extends IgxGridBaseComponent implements IGridDataB
592592
* @memberof IgxGridComponent
593593
*/
594594
public groupBy(expression: IGroupingExpression | Array<IGroupingExpression>): void {
595-
if (this.checkIfNoField(expression)) {
595+
if (this.checkIfNoColumnField(expression)) {
596596
return;
597597
}
598598
this.endEdit(true);
@@ -996,7 +996,7 @@ export class IgxGridComponent extends IgxGridBaseComponent implements IGridDataB
996996
}
997997
}
998998

999-
public checkIfNoField(expression: IGroupingExpression | Array<IGroupingExpression> | any): boolean {
999+
private checkIfNoColumnField(expression: IGroupingExpression | Array<IGroupingExpression> | any): boolean {
10001000
if (expression instanceof Array) {
10011001
for (const singleExpression of expression) {
10021002
if (!singleExpression.fieldName) {

0 commit comments

Comments
 (0)