How can I change defaultSortmine webGridto the opposite / decreasing order? If it were SQL, I would add DESCsomewhere. Here is my working line of code for upstream sorting:
var grid = new WebGrid(dq, rowsPerPage: 50, defaultSort: "UWDate", ajaxUpdateContainerId: "grid" );
It sorts correctly by column UWDatein ascending order, but I would like it to sort the opposite / decreasing order.
source
share