File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
projects/igniteui-angular/src/lib/grids/grid Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments