Skip to Content

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

How to count selected rows with checkbox in sap.m.table

Hi,

Is there any property or method which gathers the information about number of selected rows with checkbox in sap.m.table.Please share recommendtaions/alternatives.

Regards,

Koti Reddy

Former Member
Former Member replied

The method getSelectedItems returns an array, so all you need to do is to access the length property: oTable.getSelectedItems().length

- Max

0 View this answer in context

Helpful Answer

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