Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
4003 Представления

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

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Лучший ответ

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!

Аватар
Отменить