Default Sort Example
To add default sorting to a column you need two things enabled:
sort
attribute on the <zing-grid>
tagsort-asc
orsort-desc
attribute on a SINGLE<zg-column>
Related Resources
- API element zing-grid - https://www.zinggrid.com/docs/api-elements#zing-grid-sort
- API element zg-column- https://www.zinggrid.com/docs/api-elements#zg-column-sortAsc
- Demo - https://app.zingsoft.com/demos/create/7YFFO3N2