Skip to content

useTypeDefault

Since v0.1.0

Composable to get a specific type’s default configuration.

useTypeDefault(typeName: string): TypeDefault<TRow, TValue> | undefined
NameTypeDescription
typeNamestringThe type name to look up
<script setup>
import { useTypeDefault } from '@toolbox-web/grid-vue';
const countryDefault = useTypeDefault('country');
</script>
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt