Theming
The TreeGrid class is configured to support Bootstrap 4, Bootstrap 5 and jQuery UI CSS frameworks. In order to use these CSS frameworks it is needed first to install (include in the head section) the appropriate CSS and JavaScript files.
Using Bootstrap CSS¶
To use Bootstrap styling it is needed first to include the appropriate files in the head section and then set it in the php code using setCssFrameWork
require_once 'path_to_your_project_vendor_dir/autoload.php';
// Create the jqTreeGrid instance
$tree = new Guriddo\TreeGrid\TreeGrid($conn);
$tree->setCssFrameWork('Bootstrap5', 'Bootstrap5');
...