App.Collections

App.Collections

Collections Widget allows the user to work with collections. A collection is used to store arbitrary business objects.

Classes

Collections

Methods

(static) addCollectionPostRenderer()

Function to modify the add Collection Form to support addToCollection functionality .

(static) addToCollection()

Add objects into a named collection.

(static) clear()

Clear the selected collection contents.

(static) create(input) → {App.Collections.Collections}

Creates instance of Collections widget instance.

Example
App.Collections.create(input);
Parameters:
Name Type Description
input object

options passed to Widget constructor

Returns:
Type
App.Collections.Collections

(static) deleteCollections()

Delete the selected collections.

(static) distributeCollections()

Distribute the selected collections.

(static) distributeFormPostRenderer()

Method to Post process distribute collection form

(static) goBackToCollection()

Returns back to collections table

(static) mergeCollections()

Merge the selected collections.

(static) mergeFormPostRenderer()

Method to Post process merge collection form

(static) openAddToCollectionForm()

Function to open the create Collection form in side panel.

(static) purgeCollection()

Clear Collection.

(static) removeFromCollection()

Removes items from Collection.

(static) search()

Search collections in view collection datatable.

(static) view(data)

Open collections view in sidepanel.

Example
App.Collections.view(data);
Parameters:
Name Type Description
data object

object containg dashboard reference.