Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Sense Experts
Not sure if it's possible, but could someone help me how to display QlikSense style dialog box and get the user response. I am developing an extension and want to provide to the user a nice dialog box for confirmation
Thanks
Hi
It looks like this is possible:
define([
"assets/client/dialogs/confirm-dialog/confirm-dialog"
], function (confirmDialog) {
"use strict";
return {
confirm: function () {
return confirmDialog.show({
text: "Are you sure you want to delete the item \"" + item.name + "\"?",
}).then(
function () {
// User clicked OK, do the processing
return true;
},
function () {
// User clicked Cancel
return false
}
);
}
}
});
Hi,
You need either create yourself or look for a ready extension.
Hi
It looks like this is possible:
define([
"assets/client/dialogs/confirm-dialog/confirm-dialog"
], function (confirmDialog) {
"use strict";
return {
confirm: function () {
return confirmDialog.show({
text: "Are you sure you want to delete the item \"" + item.name + "\"?",
}).then(
function () {
// User clicked OK, do the processing
return true;
},
function () {
// User clicked Cancel
return false
}
);
}
}
});