This repository was archived by the owner on Feb 2, 2025. It is now read-only.
Replies: 1 comment
-
dtTrigger isn't triggered by your code to let the library its time to initialize. Try this: ngAfterViewInit() {
this.dtTrigger.next();
} Take a look at the Rerender Table section of the documentation: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For some reason can't get dt-options to initialize. Just keeps showing the default values.
component
export class WalletSubaddressComponent implements OnInit {
dtOptions: DataTables.Settings = {};
dtTrigger: Subject = new Subject();
html
table datatable [dtOptions]="dtOptions" [dtTrigger]="dtTrigger"
class="table is-striped mx-auto is-hoverable" id="subaddid"
Beta Was this translation helpful? Give feedback.
All reactions