ZingGrid: Column Sorted on Render
Default Sort Example
To add default sorting to a column you need two things enabled:
sortattribute on the <zing-grid>tagsort-ascorsort-descattribute on a SINGLE<zg-column></zg-column>
1 will enable sorting across the grid, and 2 will add a default sort to a zg-column.
To remove sorting capabilities from a single column, add sort="disabled" to the <zg-column></zg-column> to disable sort on.
See the demo below for a full implementation!
Related Resources
API element zing-grid - https://www.zinggrid.com/docs/api/tags/usage
API element zg-column- https://www.zinggrid.com/docs/api/tags/usage

