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:

CSS typography in white on a vibrant red geometric background. Article will focus on the CSS backdrop-filter property and its various functions, including blur, grayscale, brightness, and drop-shadow.

How to use the CSS backdrop-filter property

Backdrop and background have similar meanings, as they both refer to the area behind something. The main difference is that […]

Oscar Jite-Orimiono
Oct 4, 2024 ⋅ 10 min read
6 AI Tools For API Testing And Development

6 AI tools for API testing and development

AI tools like IBM API Connect and Postbot can streamline writing and executing API tests and guard against AI hallucinations or other complications.

Frank Joseph
Oct 3, 2024 ⋅ 12 min read
Patterns For Efficient DOM Manipulation With Vanilla JavaScript

Patterns for efficient DOM manipulation with vanilla JavaScript

Explore DOM manipulation patterns in JavaScript, such as choosing the right querySelector, caching elements, improving event handling, and more.

Joe Attardi
Oct 2, 2024 ⋅ 8 min read
Integrating Chrome's New `Window.ai` API In A Vue App

Integrating AI features in Vue using Chrome’s `window.ai` API

`window.ai` integrates AI capabilities directly into the browser for more sophisticated client-side functionality without relying heavily on server-side processing.

Emmanuel John
Oct 1, 2024 ⋅ 10 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