How to sort data in rtf template
Sort the data in Data model is the recommended approach.
But if you want to sort the data in rtf template then you have to use below xml tag code.
<?sort:fieldname?><?fieldname?>
this will sort the data in ascending order be default as it is not mentioned.
if user want to sort the data in descending order then use below code
<?sort:fieldname;'descending'?><?fieldname?>
No comments:
Post a Comment