跳至內容
選單
此問題已被標幟
2 回覆
3996 瀏覽次數

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!

頭像
捨棄