Socket
Socket
Sign inDemoInstall

@ag-grid-enterprise/core

Package Overview
Dependencies
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ag-grid-enterprise/core

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue


Version published
Weekly downloads
139K
decreased by-40.24%
Maintainers
3
Weekly downloads
 
Created

What is @ag-grid-enterprise/core?

@ag-grid-enterprise/core is a powerful data grid package for building feature-rich and highly customizable data tables in web applications. It offers advanced functionalities such as filtering, sorting, grouping, pivoting, and more, making it suitable for enterprise-level applications.

What are @ag-grid-enterprise/core's main functionalities?

Filtering

This feature allows users to filter data in the grid based on various criteria. The code sample demonstrates how to set up different types of filters for columns.

const gridOptions = {
  columnDefs: [
    { field: 'athlete', filter: 'agTextColumnFilter' },
    { field: 'age', filter: 'agNumberColumnFilter' },
    { field: 'country', filter: 'agSetColumnFilter' }
  ],
  rowData: null
};

// setup the grid after the page has finished loading
const eGridDiv = document.querySelector('#myGrid');
new agGrid.Grid(eGridDiv, gridOptions);

Sorting

This feature allows users to sort data in the grid by clicking on the column headers. The code sample shows how to enable sorting for specific columns.

const gridOptions = {
  columnDefs: [
    { field: 'athlete', sortable: true },
    { field: 'age', sortable: true },
    { field: 'country', sortable: true }
  ],
  rowData: null
};

// setup the grid after the page has finished loading
const eGridDiv = document.querySelector('#myGrid');
new agGrid.Grid(eGridDiv, gridOptions);

Grouping

This feature allows users to group rows based on the values in a specific column. The code sample demonstrates how to enable row grouping for a column.

const gridOptions = {
  columnDefs: [
    { field: 'athlete' },
    { field: 'age' },
    { field: 'country', rowGroup: true }
  ],
  rowData: null,
  groupDefaultExpanded: 1
};

// setup the grid after the page has finished loading
const eGridDiv = document.querySelector('#myGrid');
new agGrid.Grid(eGridDiv, gridOptions);

Pivoting

This feature allows users to pivot data in the grid, transforming rows into columns based on the values in a specific column. The code sample shows how to enable pivot mode and set up a pivot column.

const gridOptions = {
  columnDefs: [
    { field: 'athlete' },
    { field: 'age' },
    { field: 'country', pivot: true }
  ],
  rowData: null,
  pivotMode: true
};

// setup the grid after the page has finished loading
const eGridDiv = document.querySelector('#myGrid');
new agGrid.Grid(eGridDiv, gridOptions);

Other packages similar to @ag-grid-enterprise/core

Keywords

FAQs

Package last updated on 16 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc