Jump to content

Spotfire API getModifiedFilterColumns callback is not getting triggered


Garima Verma 2

Recommended Posts

I am using Spotfire JavaScript API to integrate and show spotfire report in my angular/JavaScriptapplication. User can filter the data by selecting some filters from the spotfire report. Now I have to read the values from the modified filer columns in order to read the filter values applied. I have written a small function like this-

testFtn(){

doc.filtering.getModifiedFilterColumns('Filtering scheme',

spotfire.webPlayer.includedFilterSettings.ALL_WITH_CHECKED_HIERARCHY_NODES,

function(data) {

console.log('modified column array: '+data)

});

}

The problem I'm facing currently is that I don't see the callback function being triggered. The console.log statement never gets logged. Can somebody please help me here, thanks in advance. Once I start getting the data array, i would extract the required values from it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...