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

Issues for selecting and updating records on oj-table for update

Hi,

I have an issue with updating oj-table, I implemented the methodology that depends on staging variable "currentAddressRow" to hold the selected row for edit, then populate and update the row using listeners "on-oj-before-row-edit" and "on-oj-before-row-edit-end". it works fine, but I found in some cases that it update all table rows with the last row in the table.

I tried to check console log for "on-oj-before-row-edit" and "on-oj-before-row-edit-end" for this case and I found that the event got fired for selected row, then non selected rows. This is the code for table and both action chains:

<oj-table scroll-policy="loadMoreOnScroll" data="{{ $page.variables.AddressesADP }}"

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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