Skip to content
Snippets Groups Projects
Commit 5f4b7d4b authored by Artur Carvalho's avatar Artur Carvalho
Browse files

Add custom cell renderer

parent 32abbcfb
No related branches found
No related tags found
1 merge request!1Add initial libraries
Pipeline #67819 failed
<script setup lang="ts">
import type { IHeaderParams } from "ag-grid-community";
const props = defineProps();
const params = props.params as IHeaderParams;
console.log(params?.value);
const hasValue = params?.value !== undefined;
const f = (evt: any) => console.log("focus");
</script>
<template>
<div class="focus:ring-green-500 " >
<div v-if="hasValue" class="bg-blue300">
<input class="" type="checkbox" :checked="params.value" />
<!-- <input type="text" value="asdf" @focus="f" name="asdf" id=""/> -->
</div>
<div v-else class="c">n/a</div>
</div>
</template>
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment