Hi
We use olap igPivotGrid. I want hide some items, when filter dropdown opening. For example you have dimension with 2 level hierarchy. All years -> 1991/1992.
I want have a possibility hide for example 1991, and i don't want delete it, only hide. How can i do this without tricky workarounds?
Best regards.
Hello,
Thank you for contacting Infragistics.
I am glad you have been able to find a way to achieve this behavior. Another possibility is to use jQuery selectors to select the element you want to hide then call hide on it.
http://api.jquery.com/hide/
You can use the developer tools of your browser to find the element class/id/value you want to hide.
Please let me know if you have any further questions concerning this matter.
After some investigations, i found a way. Something like this:
$.ig.HierarchyFilterView.prototype.addFiltersForMembers = function (a) { var c = a.getEnumerator(); while (c.moveNext()) { var b = c.current(); if(b._name !== 'Bla-bla-bla') this.addFilterForMember(b) } }
Best regards