diff --git a/package.json b/package.json index b12f670..f83963b 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "author": "Yusuf ", "license": "MIT", "peerDependencies": { - "gridjs": ">=3.2.0", + "gridjs": ">=4.0.0", "svelte": ">=3.30.0" }, "devDependencies": { diff --git a/src/gridjs.svelte b/src/gridjs.svelte index 8042058..51d0d12 100644 --- a/src/gridjs.svelte +++ b/src/gridjs.svelte @@ -21,6 +21,7 @@ export let height: string = "auto"; export let autoWidth: boolean = true; export let fixedHeader: boolean = false; + export let resizable: boolean = false; export let from: HTMLElement = undefined; export let language: Language = undefined; export let search: SearchConfig | boolean = false; @@ -74,6 +75,7 @@ fixedHeader, style, className, + resizable, }); instance.on('cellClick', (...args) => dispatch('cellClick', {...args}))