From 81866288d105ad63729c4e3c6be842018a209946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20CROMBEZ?= <777666+jcrombez@users.noreply.github.com> Date: Tue, 12 Dec 2023 16:32:16 +0100 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c2c35bd..95fc594 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,20 @@ Quick start composer require kibatic/datagrid-bundle ``` +Add this to your `assets/controllers.json` : + +```json +{ + "controllers": { + "@kibatic/datagrid-bundle": { + "checker": { + "enabled": true, + "fetch": "eager" + } + } +} +``` + You'll most likely also need to enable this twig function : https://twig.symfony.com/doc/2.x/functions/template_from_string.html ### Basic usage @@ -124,6 +138,5 @@ Roadmap - Adding a Flex recipe - Upgrading to PHP 8 -- Adding Bootstrap 5 theme -- Use Symfony UX +- Remove Bootstrap 4 and Sonata variant - More column types and template options ?