Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-4.2.0.GA, EE-3.3.0.GA_P05
-
Fix Version/s: 4.3, EE-3.3.0.GA_P06
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ace dataTable reorder sort
-
Support Case References:Support Case 14242:- https://icesoft.my.salesforce.com/5000g00001oAefs
Description
See attached test case. The column reordering works until you sort one of the headers and then the reordering is no longer available.
Also, review the functionality of attributes for ace:dataTable:-
reorderableColumns :- boolean when true enables the dragging and dropping of the columns
columnOrdering:- required with reorderableColumns and is a list of Integers. Not sure why this is not within the component? Both are required for this functionality, but if there is no use-case for user interaction with this attribute in the component, then it should be within the component. As a minimum, it should be "@Required" if reoderableColumns attribute is true.
Also, review the functionality of attributes for ace:dataTable:-
reorderableColumns :- boolean when true enables the dragging and dropping of the columns
columnOrdering:- required with reorderableColumns and is a list of Integers. Not sure why this is not within the component? Both are required for this functionality, but if there is no use-case for user interaction with this attribute in the component, then it should be within the component. As a minimum, it should be "@Required" if reoderableColumns attribute is true.
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Ken Fyten
made changes -
Fix Version/s | EE-3.3.0.GA_P06 [ 13114 ] | |
Fix Version/s | EE-3.3.0.GA_P07 [ 13118 ] |
Arturo Zambrano
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Judy Guglielmin
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52099 | Tue Nov 21 15:17:34 MST 2017 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableRenderer.java
|
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Judy Guglielmin
made changes -
Attachment | ICEfacesTestCase ReorderableColumn.zip [ 22653 ] |
Judy Guglielmin
made changes -
Attachment | SC14242.war [ 22652 ] |
Judy Guglielmin
made changes -
Fix Version/s | 4.3 [ 13096 ] | |
Fix Version/s | EE-3.3.0.GA_P07 [ 13118 ] |
Judy Guglielmin
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Arturo Zambrano [ artzambrano ] |
Judy Guglielmin
created issue -
For the issue with the reset button. They would have to dynamically call the function to re-apply the reorderable columns behaviour in the client, from their own listener, since such request is not a sort request, which would trigger this dynamic javascript code to be sent to re-apply such behaviour.
In order to do this, follow these two steps:
1. import org.icefaces.util.JavaScriptRunner in the bean where the reset function is.
2. Add the following code at the end of the reset listener:
For ICEfaces 4:
For ICEfaces 3:
Simply replace 'tableClientId' or 'tableWidgetVar' as appropriate.
Note that I couldn't actually reproduce the issue on the test case I was given, since the reset button (link, actually) didn't seem to work. It didn't reset the order.