I have a small app and I need to fix a couple of issues:
Need to set a field with a default sort order. This is the code I have right now
$crud->grid->getColumn('JOB_NO')->makeSortable();
The grid displays the sort icon but I want to set the default sort for this field to be descending.
The JOB_NO field contains alphanumeric job numbers: N999, N1000, N1001 etc...
The sort is working however it's putting N999 at the top and N1000 and N1001 are not even there only to be found several pages later in the pagination. How can I set the sort to make sure that higher job numbers stay at the top? Basically ignore the first letter maybe? Thanks