Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
Timothy Schenz
Able to Sort a Dynamic Data List?
April 23, 2012 1:36 PM

Timothy Schenz

Rank: New Member

Posts: 8

Join Date: March 23, 2012

Recent Posts

I can see that I can sort a column of a Dynamic Data List if it's displayed as a spreadsheet. How can a field be sorted if it's not displayed as a spreadsheet?
Achmed Tyrannus Albab
RE: Able to Sort a Dynamic Data List?
March 30, 2015 5:15 AM

Achmed Tyrannus Albab

Rank: Regular Member

Posts: 124

Join Date: March 5, 2010

Recent Posts


Did you manage to get it?
I am trying to sort via Display Template using freemarker. The furthest i got is sort by MODIFIED DATE, which is not exactly what i want. I want it to be sorted by date in the field. I have no idea how to do this.

Also found this :

1#set ($records = ${ddlRecordsUtil.getRecords($recordSetId,-1,-1,50,ORDER_BY_text2132_DESC)})

But this is in velocity, having hard time to convert it to FREEMAKER.

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!