Tony and all,
Great work on JQGrid! I have recently adopted JQuery and JQGrid (among other plug-ins) to replace Component Art and MSAJAX from our ASP.NET site (http://nutshellmail.com). Our code is getting cleaner and performance is definitely far better.
There is one limitation with JQGrid that I am hoping you can help me overcome. I have a date field in the grid that I want formatted as “ddd M/D h:mm TT” (i.e. “Tue 7/29 2:01 PM”). However, I also want this column to be sortable. Unfortunately, I am unsure if/how I can accomplish this goal.
I am currently using datatype: “local” and generating my own array from a JSON response. I already have the date format in milliseconds since Jan 1, 1970 and am passing it into the data array. I am then pointing the column index to that field, but still no luck.
ComponentArt and ExtJS Grid both support the ability tie a rendering function to each column (see the definition for Ext here).
Can you please suggest a way that I can display the date format as “Tue 7/29 2:01 PM” while still maintaining the ability to sort?
Thanks,
David
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top