Skip to content

Conversation

@MayaKirova
Copy link
Contributor

Related to bug #233454: Two-way data binding of igniteui-angular2 extension updates wrong cell's value when the grid is configuring with multi row layout.

colIndex = element.data(this._widgetName)._getCellIndexByColumnKey(diff[i].txlog[j].key);
record = this._config.dataSource[diff[i].index];
td = element.find("tr[data-id='" + record[pkKey] + "']").children().get(colIndex);
td = element.data(this._widgetName)._getCellsByColKey(element.find("tr[data-id='" + record[pkKey] + "']"), diff[i].txlog[j].key);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

element.data(this._widgetName) is already cached in the grid var at the beginning. You should use it elsewhere in the function.

@mpavlinov mpavlinov merged commit 4f80d11 into IgniteUI:master Mar 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants