frappe / frappe/datatable

How to use datatable with Svelte

Open
#119 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
216
PR merge metrics
No merged PRs in 30d

Description

The documentation about using it with the NPM ecosystem is unfortunately not very informative, I want to use frappe-datatable like this:
```

import DataTable from 'frappe-datatable';

const columns = ['Name', 'Position', 'Salary'];
const data = [
['Faris', 'Software Developer', '$1200'],
['Manas', 'Software Engineer', '$1400'],
];

```

but I receive: `frappe-datatable.cjs.js:5552 Uncaught (in promise) Error: Invalid argument given for wrapper`

How can I get it to work?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.