Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
4001 Weergaven

Can anyone knows how to sort a list in mako file for a webkit report?

Avatar
Annuleer
Beste antwoord

Hi Surendar,

In mako template you can open python code block like this:

<%
      # You can sort your list of records here
%>

I hope this helps :-) Cheers, Petar

Avatar
Annuleer
Beste antwoord

Webkit report supports Python code, to use the python code in the mako template you can use,

<%
#Python code
%>

Here you can write your python code to sort the data!

Avatar
Annuleer