Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Multi Select table using checkboxes and utilizing the add and delete methods in the KeySetImpl class — Cloud Customer Connect
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

Multi Select table using checkboxes and utilizing the add and delete methods in the KeySetImpl class

Question
3
Views
0
Comments
edited Aug 24, 2021 10:54PM in Visual Builder

Content

I have been looking at the Multi Select table recipe in the VBCS cookbook (\https://vbcookbook.oracle.com/?page=shell&shell=table-multi-select&table-multi-select=table-multi-select-start&table-multi-select-start=recipe)

I am trying to add additional functionality where I can dynamically add/delete rows to the selectItems observable.  For example, PageModule.prototype.selectSpecificRows = function () is hard-coding 2 keys to add to selectedItems.  I would like to use the add method explained here (https://www.oracle.com/webfolder/technetwork/jet/jsdocs/KeySetImpl.html#add) to add keys to the selectedItems observable, but I am struggling with the syntax.

Can someone possibly table a look at the cookbook recipe above and provide some insight on how to use the add/delete methods in the KeySetImpl class?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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