Browse Source

fix: sortable author column to non-sortable

pull/8606/head
bnymncoskuner 5 years ago
parent
commit
95954ee9fc
  1. 3
      docs/en/Tutorials/Part-10.md
  2. BIN
      docs/en/Tutorials/images/bookstore-books-with-authorname-angular.png

3
docs/en/Tutorials/Part-10.md

@ -949,10 +949,11 @@ This command will update the service proxy files under the `/src/app/proxy/` fol
Book list page change is trivial. Open the `/src/app/book/book.component.html` and add the following column definition between the `Name` and `Type` columns:
````js
````html
<ngx-datatable-column
[name]="'::Author' | abpLocalization"
prop="authorName"
[sortable]="false"
></ngx-datatable-column>
````

BIN
docs/en/Tutorials/images/bookstore-books-with-authorname-angular.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Loading…
Cancel
Save