chore: simplify usage section
This commit is contained in:
parent
9193fd9b06
commit
4b124f0b1d
@ -30,7 +30,8 @@ I was trying to remove all legacy UI components from the [frappe](https://github
|
|||||||
- **Column**: Columns are highly flexible, allowing users to reorder, resize, and sort them with ease. Additional features include hiding/removing columns and adding custom actions.
|
- **Column**: Columns are highly flexible, allowing users to reorder, resize, and sort them with ease. Additional features include hiding/removing columns and adding custom actions.
|
||||||
- **Row**: Rows support advanced interactions, including row selection, tree-structured organization, and inline filters for precise control. They handle large datasets efficiently with dynamic row heights.
|
- **Row**: Rows support advanced interactions, including row selection, tree-structured organization, and inline filters for precise control. They handle large datasets efficiently with dynamic row heights.
|
||||||
|
|
||||||
## Install
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn add frappe-datatable
|
yarn add frappe-datatable
|
||||||
@ -40,7 +41,6 @@ npm install frappe-datatable
|
|||||||
|
|
||||||
> Note: [`sortablejs`](https://github.com/RubaXa/Sortable) is required to be installed as well.
|
> Note: [`sortablejs`](https://github.com/RubaXa/Sortable) is required to be installed as well.
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const datatable = new DataTable('#datatable', {
|
const datatable = new DataTable('#datatable', {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user