You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

In a editable table, entered data will disappear after edit mode ends

edited Nov 26, 2018 1:23PM in Visual Builder 4 comments

Summary

In a editable table, entered data will disappear after edit mode ends

Content

Hello,

I am trying to implement the editable table and save the edited rows to business object on click of save button,
but the newly entered data will disappear once the edit mode ends and it shows up the previous data. Please help.
below is the code

<oj-table summary="Sample Table" scroll-policy="loadMoreOnScroll" id="oj-table--210482907-1"
    class="oj-flex-item oj-sm-12 oj-md-10" data="{{ $page.variables.departmentListADP }}"
    columns='[{"headerText":"id","field":"id","template": "deptIdTemplate"},{"headerText":"departmentName","field":"departmentName","template": "deptNameTemplate"},{"headerText":"managerId","field":"managerId","template": "mgIdTemplate"},{"headerText":"locationId","field":"locationId","template": "locIdTemplate"}]'

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!