i want to disable collapse and expand for facetvalue
i tried alot of scenarios in code like
FacetValue facetValue = new FacetValue(code, title,
parentCode);
facetValue.setCollapsed(true);
boolean canExpand =
record.getAttributeAsBoolean("canExpand");
facetValue.setAttribute("canExpand", canExpand);
facetValue.setCanCollapse(canCollapse);
it does't work i tried also to make it from cubegrid
cubegrid.setCanExpandRecordProperty("canExpand");
it doesn't work
i tried alot of scenarios in code like
FacetValue facetValue = new FacetValue(code, title,
parentCode);
facetValue.setCollapsed(true);
boolean canExpand =
record.getAttributeAsBoolean("canExpand");
facetValue.setAttribute("canExpand", canExpand);
facetValue.setCanCollapse(canCollapse);
it does't work i tried also to make it from cubegrid
cubegrid.setCanExpandRecordProperty("canExpand");
it doesn't work