Dashboards & Visualizations

JS Framework passing tokens? Restful?

Communicator

I am using the javascript framework to build my forms and it doesn't appear to be restful? I want to be able to use drilldowns to pass fields into my JS/django forms but can't figure out how you do it? Any help would be appreciated.
Thanks,
-Bob

0 Karma

Communicator

Hi,
have you tried with "e.name2" or "e.value2"?

Regards,
Luca Caldiero.

0 Karma

Communicator

I figured out how to pull back what is passed via the URL string. I would like to be able to specify which column was clicked on. What do I use for a variable to return the column header name???

Using the following:

table2.on('click:cell', function(e) {
e.preventDefault();
//what do I need here to print the column header name????
console.log("Click 1 " + e.value);
console.log("Click 4" + e.name); //does NOT work

       // window.open("../broipjs?10.149.16.17","_self");
    });
0 Karma