Skip to content

Commit e271bfb

Browse files
committed
Do not check for differences when the dataSource is url
1 parent ce91182 commit e271bfb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/igniteui.angular2.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,9 @@ export class IgGridBase<Model> extends IgControlBase<Model> {
361361
grid = element.data(this._widgetName),
362362
colIndex, td, i, j, pkKey = this._config.primaryKey, newFormattedVal, record, column;
363363

364+
if (typeof this._config.dataSource === "string") {
365+
return;
366+
}
364367
//check for changes in collection
365368
this._changes = this._differ.diff(this._config.dataSource);
366369
if (this._config.dataSource.length !== this._dataSource.length) {

0 commit comments

Comments
 (0)