on ‎2019 Mar 11 3:21 PM
Hi ,
I have to show the sorted orders by creation time in backoffice on customer object,could anyone have idea what will be the correct approach.
Request clarification before answering.
Hi Tomasz,As per your comment above I tried and that worked but one issue was there is the list is sorted as per requirement but I am not able to create any new order there on customer editor area. I mean I am able to select/remove any order in the orders list on customer but create functionality is not working even wen clicking on 3 dots to open editor area is not working from orders list. Could you please suggest what I am missing. and below is the error message in console Stub widget slot for----- socketId: referenceEditorOutput could not be found
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You can switch to the ExtenedMultiReferenceEditor and sort data manually by clicking on configured column name - it is one option but will appear visual changes.
Second option would be to write your own editor by extending it from com.hybris.cockpitng.editor.defaultmultireferenceeditor.DefaultMultiReferenceEditor. In the method protected void changeSelectedObject(final Collection<T> list) you can sort collection elements as you wish and call super.changeSelectedObject(sortedList).
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.