Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit 21404f0

Browse files
committed
feat: add More info about Angular way deprecation
1 parent 72ad56b commit 21404f0

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

demo/src/app/base-demo/base-demo.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h2 class="header center-on-small-only">{{pageTitle}}</h2>
1010
<div class="section" *ngIf="deprecated">
1111
<div class="section red white-text">
1212
<div class="container">
13-
This section has been marked as deprecated. It is listed here for documentation purposes only.
13+
This section has been marked as deprecated. It is listed here for documentation purposes only. <a routerLink="/faq">Read More</a>
1414
</div>
1515
</div>
1616
</div>

demo/src/assets/docs/faq.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
> Deprecation of "Angular way" usage
2+
3+
This was done to address few issues:
4+
5+
1. The usage of `*ngFor` and setting AJAX callback's `data` property as empty, we're essentially tricking the library to consider "non-existent" data. (non-existent because AJAX callback is called with empty array and totalRecords* values don't match)
6+
7+
2. It breaks DT extensions that perform additional data processing like exporting tabular data to a PDF or CSV, etc.
8+
9+
We have introduced better ways to allow same level of control over rendering your data via [TemplateRef](https://l-lin.github.io/angular-datatables/#/advanced/using-template-ref) and [Pipes](https://l-lin.github.io/angular-datatables/#/advanced/using-pipe)
10+
111
> Error encountered resolving symbol values statically.
212
313
Please update your `tsconfig.json` as shown below. For more info, check the GitHub issue [here](https://github.com/l-lin/angular-datatables/issues/937)

0 commit comments

Comments
 (0)