Hi,
We have implemented HandsOnTable with Cell spanning using merge-Cells: option,
and we are saving the sort and filter config as user preference and applying the same on data load.
but, On applying the configs on data load, the cell spanning is removed, it loads as normal cell without spanning, and the sort filter are not applied also.
I’m applying the filter config as like this.
afterInit: function () {
const filtersPlugin = this.getPlugin('filters');
const filterConfig = sortFilterConfig.summaryFilterConfig ? sortFilterConfig.summaryFilterConfig : [];
filterConfig.forEach(fc => {
fc.conditions.forEach(condition => {
filtersPlugin.addCondition(fc.column, condition.name, condition.args, fc.operation);
});
});
if (filterConfig && filterConfig.length) {
filtersPlugin.filter();
}
},
and applying the softconfig as like this.
columnSorting: {
initialConfig: sortFilterConfig.summarySortConfig[0],
indicator: true,
sortEmptyCells: false,
headerAction: true,
},
Please suggest, What we are doing wrong, and Is it possible to apply filter and soft config on cell spanned grid.?