Editor not refreshing/redrawing after new row is inserted
Editor not refreshing/redrawing after new row is inserted
bsuk
Posts: 92Questions: 26Answers: 2
Is there anything I can do to debug this, or might anyone have an idea why this is happening?
If I edit a row, I can see the change reflecting instantly in the table.
However, if I add a new row, the table does not update until the page is refreshed. Everything else appears to be functioning normally..
There are no errors in the server log or displayed in the client console. After refreshing the page, everything appears as it should.
This discussion has been closed.
Answers
Update - if I remove the "id" field from editor (primary key in the table), it works. However, I want to include the ID field in my Datatable.. Why would this cause an issue?
Resolved it. Needed to do this to stop the auto-increment field from being written to.
field::inst( 'id' )->set( false ),
Excellent, thanks for reporting back,
Colin