2021-05-18
1853
#angular
Kenneth Ekandem
49523
May 18, 2021 ⋅ 6 min read

Using Angular DataTables to build feature-rich tables

Kenneth Ekandem Software engineer with four years' experience in PHP and JavaScript. Currently working as a backend developer for Codekago Interactive.

Recent posts:

Radix Ui Adoption Guide Overview Examples And Alternatives

Radix UI adoption guide: Overview, examples, and alternatives

Radix UI is quickly rising in popularity and has become an excellent go-to solution for building modern design systems and websites.

Nefe Emadamerho-Atori
Apr 25, 2024 ⋅ 11 min read
Understanding The Css Revert Layer Keyword, Part Of Css Cascade Layers

Understanding the CSS revert-layer keyword

In this article, we’ll explore CSS cascade layers — and, specifically, the revert-layer keyword — to help you refine your styling strategy.

Chimezie Innocent
Apr 24, 2024 ⋅ 6 min read
Exploring Nushell, A Rust Powered, Cross Platform Shell

Exploring Nushell, a Rust-powered, cross-platform shell

Nushell is a modern, performant, extensible shell built with Rust. Explore its pros, cons, and how to install and get started with it.

Oduah Chigozie
Apr 23, 2024 ⋅ 6 min read
Exploring Zed, A Newly Open Source Code Editor Written In Rust

Exploring Zed, an open source code editor written in Rust

The Zed code editor sets itself apart with its lightning-fast performance and cutting-edge collaborative features.

Nefe Emadamerho-Atori
Apr 22, 2024 ⋅ 7 min read
View all posts

11 Replies to "Using Angular DataTables to build feature-rich tables"

  1. Very useful, Thank you.
    How can we customize the language, from english to french as example ?
    Thanks

  2. ERROR TypeError: Cannot read properties of undefined (reading ‘ext’)
    I got this error in ngOnInit() at $.fn.dataTable.ext.search.push(…

  3. I use a default data as a test…then update de data and it draw properly…. but when I try to filter the data showed is the old data.. It seams that node update the html but not the DOM datatable so the filter follow working with the old data. it look like $().DataTable().rows().data is not updated with the new data…

  4. In Angular 14 and RXJS 7, had to feed this.dtTrigger.next(); the array that contains the response list from the API call, so : this.dtTrigger.next(this.reports); for me, replace this.reports with your custom array

  5. Buttons are not displaying for me.
    ngOnInit(): void {
    this.dtOptions = {
    dom:’Bfrtip’,
    }
    this.fetchData()
    }

    html:

    …..table data……..

  6. Currently, this tutorial is not working. I did it exactly the way you explain it, but
    1- I don’t get the users.
    2- I get a lot of syntax errors.
    3- The table doesn’t even show any style, it just displays the name of the columns.

Leave a Reply