I would like to order the displayed items in the table ,
tried
Also tried
But the order of displayed items will not change, any help is appreciated
Regards,
Philip
tried
B4X:
FillAlarmsTable(tblAlarms, Main.db.ExecQuery2("SELECT NR,ID,Name ,Message,updated_time,Type FROM Alarms WHERE Client = ? ORDER BY updated_time DESC", Array As String(ws.Session.GetAttribute("client"))))
Also tried
B4X:
jq.RunMethod("dataTable", Array As Object(CreateMap("aaData": data, "bFilter": False, _
"bPaginate": True,"order": "[ 4, asc ]")))
But the order of displayed items will not change, any help is appreciated
Regards,
Philip