Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

get selected rows using checked-box in sap.ui.table

hi experts,

i'm unable to figure out the best way to get all the selected rows using checked boxes. and use them to call a odata create service.

i'm thinking of like this:

1. create an empty js var > onselect of check box > push the selected row (with all column values) into js var

2. wn use click on submit button, use submitbatch function to push all the data into service.

is this proper way of doing? or any better way to get the selected values using api and use them to submit batch?

Former Member
Former Member replied

Hi

Maybe we want to try another way.

Example

(look for // change, places where I have made changes w.r.t. previous example)

-D

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question