IgniteUI / igniteui-angular-wrappers

Ignite UI Angular component extensions by Infragistics
http://igniteui.github.io/igniteui-angular-wrappers
MIT License
149 stars 30 forks source link

igGrid updating Errors on commit - grid._getCellsByColKey is not a function #258

Closed ADK920 closed 6 years ago

ADK920 commented 6 years ago

Description

Row update fails on commit

Steps to reproduce

  1. Create an igGrid with the updating feature, mode 'row' and autoCommit true
  2. Double click on a row, make changes to the values, and click done

Result

ERROR TypeError: grid._getCellsByColKey is not a function at IgGridComponent.IgGridBase.ngDoCheck (igniteui.angular2.umd.js:1624) at checkAndUpdateDirectiveInline (provider.ts:272) at checkAndUpdateNodeInline (view.ts:518) at checkAndUpdateNode (view.ts:456) at debugCheckAndUpdateNode (services.ts:377) at debugCheckDirectivesFn (services.ts:464) at Object.eval [as updateDirectives] (ModelOverlayComponent.html:1) at Object.debugUpdateDirectives [as updateDirectives] (services.ts:443) at checkAndUpdateView (view.ts:369) at callViewAction (view.ts:782)

Expected result

Grid ui and datasource are updated.

Possible Solution

If grid._getCellsByColKey is not available we could use grid.cellAt(diff[i], pkKey) to grab the td.

Attachments

Attach a sample if available, and screenshots, if applicable.

ADK920 commented 6 years ago

Already fixed, sorry!