Hello,
I followed this link:
but when I click the series to filter list view nothing happens, even URL doesn't change on the current page.
Please see the used code and configuration:
var handlers = {};
handlers.preRender = function (config, logger) {
logger.debug('Configuration: ', config);
var filtrationApplied = false;
config.plotAreaClick = function (e) {
if (!filtrationApplied) {
window.location.hash = '';
}
filtrationApplied = false;
}
config.seriesClick = function (e) {
if (ctx && ctx.clvp) {
var filter ='FilterField1=Category-FilterValue1=' + e.dataItem.Category + '-'
+ 'FilterField2=Statutul_x0020_Cererii-FilterValue2=' + e.dataItem.Statutul_x0020_Cererii;
window.location.hash = 'InplviewHash' +'e9b41fbb%2D14b1%2D4185%2D8296%2D2251495e8d11'
+ '=' + encodeURIComponent(filter);
filtrationApplied = true;
}
}
return true;
}
What am i doing wrong?
Please help me!
Thank you
Alexandru