The Oracle JET table component allows you to select multiple records in one go using the regular ctrl & shift key combinations. But once the user selected rows, how do you know which rows were selected? How do you track this?
The video below shows you the basics. As the JET tag documentation will show you, the table has a selection property which is an array of the selected records. This selections array is passed to the selection event on the table that you can hook to in with an action chain in VBCS. The array has a row for each range of records you selected listing their keys and indexes in the table.
It's up to you to parse this information if you want to operate on these rows.
The code in the JavaScript method is:
PageModule.prototype.listSelection = function(selection) { console.log("we got " + selection.length + " selections") for (var i = 0; i < selection.length; i++) { console.log("start key " + selection[i].startKey.row + ", start index " + +selection[i].startIndex.row); console.log("end key " + selection[i].endKey.row + ", end index " + +selection[i].endIndex.row); } }