PublishSubscriberHandler

PublishSubscriberHandler

Generic Event handler that handles and triggers events onLoadComplete(callback)

Constructor

new PublishSubscriberHandler()

Methods

clearColumnsFilteration()

Invoke the function on 3DDashboard 6w Tagger Click to clear all column filter which are previously filtered

getFilteredColumns(columns)

Get columns which doesn't contain properties like _dropZoneHandler && _fileColumnHandler.

Parameters:
Name Type Description
columns Object

columns

getFormattedJson()

Invoke the function on 3DDashboard 6w Tagger Click to get a formatted json

initialize(widget)

Initializes and sets up listeners for load events. triggers on widget App.Constants.Events.LOAD_COMPLETE event

Parameters:
Name Type Description
widget widget

instance

multipleValueFilter()

Invoke the function on 3DDashboard 6w Tagger Click to filter multiple column values

onMessageReceived(event)

Function to listen event in cross domain for window.postMesssage functionality.

Parameters:
Name Type Description
event Object

event

publishColumnHeaderJson()

Publish all column names

publishDataTableChanges()

Publish the DataTable Content on change.

publishLoadComplete()

Invoke the function on Widget onLoadComplete to subscribe the widget for 3DDashboard Search

publishMappingJsonData()

Publish the DataTable Content

publishSearchFn()

Publish the search function whenever invoked

publishUnsubscribe()

Invoke the function on removal of widget onLoadComplete to unsubscribe the widget for 3DDashboard Search

subscribeTaggerFiltration()

Invoke the function on widget onLoadComplete to subscribe the widget for 3DDashboard 6w Tagger Filtration