New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ant-design/pro-table

Package Overview
Dependencies
Maintainers
0
Versions
555
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ant-design/pro-table

🏆 Use Ant Design Table like a Pro!

  • 3.18.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
31K
decreased by-55.31%
Maintainers
0
Weekly downloads
 
Created

What is @ant-design/pro-table?

@ant-design/pro-table is a powerful table component built on top of Ant Design's table. It provides advanced features for handling complex data tables, including search, filtering, sorting, and more, making it suitable for professional data management applications.

What are @ant-design/pro-table's main functionalities?

Advanced Search and Filtering

This feature allows users to apply filters to table columns, enabling them to search and filter data efficiently. The code sample demonstrates how to set up filters for a column named 'Name'.

{
  "columns": [
    {
      "title": "Name",
      "dataIndex": "name",
      "filters": [
        {
          "text": "Joe",
          "value": "Joe"
        },
        {
          "text": "Jim",
          "value": "Jim"
        }
      ],
      "onFilter": "(value, record) => record.name.includes(value)"
    }
  ]
}

Editable Table

The editable table feature allows users to modify table data directly within the table interface. The code sample shows how to make the 'Age' column editable.

{
  "editable": true,
  "columns": [
    {
      "title": "Age",
      "dataIndex": "age",
      "editable": true
    }
  ]
}

Pagination and Sorting

This feature provides built-in pagination and sorting capabilities, allowing users to navigate through data and sort it by different criteria. The code sample demonstrates setting up pagination and a sorter for the 'Address' column.

{
  "pagination": {
    "pageSize": 10
  },
  "columns": [
    {
      "title": "Address",
      "dataIndex": "address",
      "sorter": "(a, b) => a.address.length - b.address.length"
    }
  ]
}

Other packages similar to @ant-design/pro-table

Keywords

FAQs

Package last updated on 06 Jan 2025

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc