Skip to content

useGrid

Composable for programmatic access to the grid.

useGrid(): UseGridReturn
<script setup>
import { useGrid } from '@toolbox-web/grid-vue';
const { forceLayout, getConfig } = useGrid();
async function handleResize() {
await forceLayout();
}
</script>
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt