Category : datatables

I am working on a Symfony project using Webpack & Datatables. After a large update of my dependencies to latest versions, i get the following error when compiling with Webpack: "./node_modules/datatables.net/js/jquery.dataTables.js" contains a reference to the file "define". This file can not be found, please check it for typos or update it if the file ..

Read more

I am using Omines Symfony DataTable Bundle https://omines.github.io/datatables-bundle/#doctrine-orm to organize my event table. I am unable to search on my "Début" and "Fin" columns which are of type Datetime Column. I’m guessing because since these are DateTime objects I’m guessing it can’t find a match. mytable If I type "08/19/2020" it doesn’t find any results ..

Read more

I’m using DataTables in my symfony project to render a table with database info like this: <tbody> {% for file in files %} <tr> <td>{{ file.name }}</td> <td>{{ file.primaryCat }}</td> <td>{{ file.secondaryCat }}</td> <td>{{ file.postedAt}}</td> <td>{{ file.tags }}</td> <td>{{ file.location }}</td> <td>{{ file.language }}</td> <td> {% if app.user.username == file.author %} <div class=”dropdown mb-4″> <button ..

Read more

I am loading data from my database, which is a very high amount of data. To get a real fast performace, I limit the data (with my parts function) Controller.php $table = $this->em->getRepository($EntityName)->parts(10); $table_json = $serializer->serialize($table, ‘json’); $table_array = json_decode($table_json); // here I am adding some complex data to the array from other database tables ..

Read more