We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7caeac commit b2fa019Copy full SHA for b2fa019
projects/igniteui-angular/src/lib/grids/grid-base.directive.ts
@@ -4035,7 +4035,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
4035
*/
4036
public pinRow(rowID, index?): boolean {
4037
const rec = this.gridAPI.get_rec_by_id(rowID);
4038
- if (this.pinnedRecords.indexOf(rec) !== -1 || !rec || this.data.indexOf(rec) === -1) {
+ if (!rec || this.pinnedRecords.indexOf(rec) !== -1 || this.data.indexOf(rec) === -1) {
4039
return false;
4040
}
4041
const row = this.gridAPI.get_row_by_key(rowID);
0 commit comments