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:

Rxjs Adoption Guide: Overview, Examples, And Alternatives

RxJS adoption guide: Overview, examples, and alternatives

Get to know RxJS features, benefits, and more to help you understand what it is, how it works, and why you should use it.

Emmanuel Odioko
Jul 26, 2024 ⋅ 13 min read
Decoupling Monoliths Into Microservices With Feature Flags

Decoupling monoliths into microservices with feature flags

Explore how to effectively break down a monolithic application into microservices using feature flags and Flagsmith.

Kayode Adeniyi
Jul 25, 2024 ⋅ 10 min read
Lots of multi-colored blue and purplish rectangles.

Animating dialog and popover elements with CSS @starting-style

Native dialog and popover elements have their own well-defined roles in modern-day frontend web development. Dialog elements are known to […]

Rahul Chhodde
Jul 24, 2024 ⋅ 10 min read
Using Llama Index To Add Personal Data To Large Language Models

Using LlamaIndex to add personal data to LLMs

LlamaIndex provides tools for ingesting, processing, and implementing complex query workflows that combine data access with LLM prompting.

Ukeje Goodness
Jul 23, 2024 ⋅ 5 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