Ngx-datatable: Expression has changed after it was checked

Created on 8 Mar 2017  路  3Comments  路  Source: swimlane/ngx-datatable

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior

Expected behavior

Reproduction of the problem

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Table version: 6.3

  • Angular version: 2.4.x

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

  • Language: [all | TypeScript X.X | ES6/7 | ES5]


`

 <x-datatable-column>
              <ngx-datatable-column name="鎿嶄綔">
             <template let-value="value" let-row="row" ngx-datatable-cell-template>
                 <div>
                     <a (click)="this.editposition(row.PositionName);" style="color: #1985ac;cursor:pointer;">缂栬緫</a><a (click)="rowclick(row);" style="color:red;margin-left: 10px;cursor: pointer;">鍒犻櫎</a>
                 </div>
           </template>
       <x-datatable-column>

 editposition(row) {
  this.modalService.open(PositionModal, { backdrop: 'static', keyboard: false });
}

the click function will error, debug info:
_./DataTableBodyRowComponent class DataTableBodyRowComponent - inline template:9:8 caused by: Expression has changed after it was checked. Previous value: 'true'. Current value: 'false'._
`

Most helpful comment

Same issue here. @Csirme, is there a fix for this since the issue has been closed?

Table version: 6.3
Angular version: 2.4.x

All 3 comments

@Csirme I am getting the same error. Have you resolved it?

Same issue here. @Csirme, is there a fix for this since the issue has been closed?

Table version: 6.3
Angular version: 2.4.x

Also facing the same issue. @Csirme, @rogeru @m0squito any solution you guys have found ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ChanBen picture ChanBen  路  3Comments

TakhirMamirov picture TakhirMamirov  路  3Comments

alceucardoso picture alceucardoso  路  3Comments

WA-WilliamKrieg picture WA-WilliamKrieg  路  3Comments

jguttman94 picture jguttman94  路  3Comments