Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: 4.0
-
Fix Version/s: 4.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces trunk, Tomcat
-
Assignee Priority:P3
Description
Example:
<ace:tableConfigPanel columnNameConfigurable="false"
columnOrderingConfigurable="true"
columnSortingConfigurable="false"
columnVisibilityConfigurable="true"
type="last-col" hideDisabledRows="true"
modal="true"/>
When rendered on the page, the sort order and name columns are still disabled (instead of un-rendered) even though hideDisabledRows="true"
Which means these two columns:
columnNameConfigurable="false"
columnSortingConfigurable="false"
shouldn't be rendered.
<ace:tableConfigPanel columnNameConfigurable="false"
columnOrderingConfigurable="true"
columnSortingConfigurable="false"
columnVisibilityConfigurable="true"
type="last-col" hideDisabledRows="true"
modal="true"/>
When rendered on the page, the sort order and name columns are still disabled (instead of un-rendered) even though hideDisabledRows="true"
Which means these two columns:
columnNameConfigurable="false"
columnSortingConfigurable="false"
shouldn't be rendered.
r45767: clarified description for 'hideDisabledRows' attribute
Marking as invalid, as the 'hideDisabledRows' is working correctly. It is actually applied when ace:column components have their 'configurable' attribute set to false. It is not applied to the configuration columns in the table configuration panel. As can be seen in the attached screenshots, when columns have configurable="false", they are rendered with a disabled styling, and when ace:tableConfigPanel has hideDisabledRows="true", these columns aren't rendered in the panel at all. The attribute description wasn't clear enough, and that has now been corrected.