Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 255 Bytes

default-ordering.md

File metadata and controls

11 lines (10 loc) · 255 Bytes

Default ordering in Admin list view

How to set the default ordering in the Admin list view

In the admin constructor:

$this->datagridValues = [
    '_page' => 1,
    '_sort_order' => 'ASC',
    '_sort_by' => 'name', // Attribute name here
];