Hi Folks,
I’m trying to figure out why sorting columns in a grid is only working with the first column. Here is the code:
var jobs_grid = jobs_layout.cells('a').attachGrid();
jobs_grid.setImagePath(DHTMLXPath + "/imgs/");
jobs_grid.setEditable(false);
jobs_grid.setHeader("Id, Date, Time, Client Name, Client IP Address, Client User, Input Size, Input Read, Page, Status, Ruleset, Driver, Message");
jobs_grid.setInitWidthsP("8,8,8,7,12,7,7,7,5,6,10,7,8");
jobs_grid.setColSorting("int, date, date, str, str, str, str, str, str, str, str, str, str");
The sort arrow appears in all columns when clicked, but the first column is the only one that actually does any sorting.
I’m also wondering if there is a sort type for time.
Any help would be much appreciated.
Thanks,
Daryl