Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello devs!
I'm beginner in qlik and I'm trying work with Qlick Sense 3.0 programmatically
I have a function:
function whenMonthsSelected(fieldName){
var field = app.field(fieldName);
var fieldData = field.getData();
console.log("fieldData");
console.log(fieldData);
console.log(fieldData.rows.length);
}
And after executing it, i have in browser console next:
In the result i have array with 0 rows.
Of course field has a rows with values.
And my question is...
What should i do to receive array with 12 rows?
If it possible, please write answer more detail, because looks like i do not understand how it works.
Thanks.
Looks like I should use promise, but i do not understand how.