Closed carlosmori94 closed 6 years ago
Hi, you can use DataTable's[sortAsc]=true
.
@brunano21 Thanks for the fast reply but that isn't working, when I populating the grid I need the first column to start with an intuitive arrow facing up, so the user understands is sorted by default. I got it like this
I need it like this
Hi, then you also need to set [sortBy]="'policyNumber'"
. This will sort the table by Policy #.
Thanks man, that worked perfectly!
I want my grid to start with the arrow facing up so the user knows the grid is sorted by default.
Thanks in advance!