> For the complete documentation index, see [llms.txt](https://book.ferro.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.ferro.pro/dev/js_grid.md).

# js\_grid

* [vue](#vue)
  * [vxe-table](#vxe-table)
  * [matfish2/vue-tables](#matfish2vue-tables)
* [jquery](#jquery)
  * [jexcel](#jexcel)
* [standalone](#standalone)
* [HTML Table](#html-table)
* TanStack - React, Solid, Vue, Svelte and TS/JS: <https://github.com/TanStack/table#tanstack-table-v8>
* AG Grid - Supports React / Angular / Vue / Plain JavaScript: <https://github.com/ag-grid/ag-grid>
* S2 - 多维交叉分析: <https://github.com/antvis/s2/#s2>
* Antd Table: <https://ant.design/components/table-cn>
* ProTable: <https://procomponents.ant.design/en-US/components/table?current=1\\&pageSize=5>

<https://github.com/FancyGrid/awesome-grid>

## vue

### vxe-table

<https://vxetable.cn/#/table/start/install>

* CDN: <https://vxetable.cn/#/table/start/install>
* `npm install xe-utils vxe-table@next` # better for webpack、vite

js/ts/setup()/JSX: <https://vxetable.cn/#/table/start/quick>

support tree table: <https://vxetable.cn/#/table/advanced/search>

### matfish2/vue-tables

<https://raw.githubusercontent.com/matfish2/vue-tables/master/dist/vue-tables.min.js>

Demo: <https://jsfiddle.net/matfish2/jfa5t4sm/> Feature: expand row to multi-rows

## jquery

### jexcel

<https://github.com/paulhodel/jexcel>

roadmap: Online work collaboration

## standalone

* tabulator: <https://github.com/olifolkerd/tabulator>

## HTML Table

<https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table>

```
<table>
    <thead>
        <tr>
            <th colspan="2">The table header</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>The table body</td>
            <td>with two columns</td>
        </tr>
    </tbody>
</table>

<table>
    <thead>
        <tr>
            <th>Items</th>
            <th scope="col">Expenditure</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <th scope="row">Donuts</th>
            <td>3,000</td>
        </tr>
        <tr>
            <th scope="row">Stationery</th>
            <td>18,000</td>
        </tr>
    </tbody>
    <tfoot>
        <tr>
            <th scope="row">Totals</th>
            <td>21,000</td>
        </tr>
    </tfoot>
</table>
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.ferro.pro/dev/js_grid.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
