A Simple Complete DataTable Component for Angular Framework

AgTable is an alternative for developers who need flexibility and efficiency while programming. With AgTable, it is possible to create a fully functional spreadsheet with minimal effort. With a well-detailed structure, there is no need to create components for columns or cells, as some other spreadsheet components do.

datatable in angular 8, angular data table example, angular datatables, data table in angular, angular table with pagination and search and sorting, angular datatable dtoptions

Why is it so good?

There are many reasons to use AgTable, but some features make it stand out from other spreadsheet solutions out there:

  • default scroll
  • High performance while viewing thousands of records
  • Filtering, sorting, and pagination can be done either from the client-side or the server-side
  • Allows you to view the data obtained from the server
  • Data pagination with infinite scrolling or regular pagination
  • Does not force you to create components to customize columns and cells
  • Column sizes are customizable
  • Much more;

How to make use of it:

Install

npm install ag-table

Import into style.scss

@import '~ag-table/scss/style.scss';
@include ag-table-core();
@import '~ag-table/scss/style.scss';
@include ag-table-core($yourColor);

Import into Module

import { AgTableModule } from 'ag-table';

@NgModule({
    declarations: [...],
    imports: [
    	...,
    	AgTableModule
    ],
    providers: [...],
    bootstrap: [AppComponent]
})
export class AppModule { }

Set language (optional)

import { AgTableModule, AgTableCustomSettings } from 'ag-table';

@NgModule({
    declarations: [...],
    imports: [...],
    providers: [
        {
            provide: AgTableCustomSettings,
            useValue: { lang: 'pt-BR' } // Default is 'en-US'
        }
    ],
    bootstrap: [AppComponent]
})
export class AppModule { }

Data Table Component For Angular, AgTable Plugin/Github, angular material table example


See Demo And Download

Official Website(ericferreira1992): Click Here

This superior jQuery/javascript plugin is developed by ericferreira1992. For extra Advanced Usages, please go to the official website.

Related Posts

svg-pan-zoom-container

Adding Zoom-on-Wheel and Pan-on-Drag to Inline SVG Elements

Vanilla-js module for adding zoom and panning behavior when dragging to SVG embedded elements. A lightweight Vanilla JavaScript plugin that enables zoom and pan functions on an…

html-table-sortable-js

Sorting HTML Table Vanilla JavaScript Library | Sortable.js

Sortable – Small JS vanilla table sorter makes any table with class = “sortable“, er, sortable. That is, the user can click the table header and change…

WYSIWYG-Rich-Text-Editor

WYSIWYG Rich Text Editor With jQuery And FontAwesome | RichText

RichText jQuery implementation for WYSIWYG Rich Text Editor which uses Font Awesome Iconic Font for editor icons. It is licensed under AGPL-3.0. Initialize editor Simply call .richText() on your jQuery(‘textarea’) or jQuery(‘input’)…

email-domain-autocomplete-genie

[Autocomplete] Email Domain Suggestions Like Gmail, Outlook, or More | email-genie

Email Genie allows auto-completion in the email field by providing a list of domain suggestions (gmail.com, outlook.com, etc.). This package is lightweight, flexible, compatible with libraries (jQuery,…

JavaScript-Library-for-Creating-Squircley-Magic

[Generator] JavaScript Library for Creating Squircley Magic ✨ | squircley.js

squircley.js is the core magic of Squirclular ✨ from https://squircley.app wrapped in a simple 0-dependency JavaScript library. squircley.js can generate SVG files, add square backgrounds to DOM…