on ‎2018 Jul 27 10:30 AM
Hi,
I want to format the date on list view shown in back-office. Can we edit it as in editor area we edit by appending: editorArea:editor-parameter> dateFormat dd/MM/yyyy Any such configuration possible for list view OOB?
Thanks
Request clarification before answering.
Hi Richa,
You can write your own list cell renderer for date format customization in listview.
backoffice-config.xml
<list-view:column qualifier="date" spring-bean="dateCellRenderer"/>
Renderer class
public class DateCellRenderer extends DefaultListCellRenderer {
public void render(final Listcell parent, final ListColumn columnConfiguration, final Object object,
final DataType dataType, final WidgetInstanceManager widgetInstanceManger) {
// Your implementation
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.