Questions tagged [datatables]
DataTables is a plug-in for the jQuery JavaScript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table. Do not use this together with [datatable].
datatables
20,750
questions
0
votes
0
answers
12
views
Reload ajax datatable in rails
im using rails 7 with server-side ajax datatable. When delete a row and call reload(), it doesn't reload datatable. It used to work with rails 6.
When I click on delete button, it deletes de data row ...
0
votes
0
answers
13
views
Datatables causes table element to disappear, only when deployed
I have a Django web app which I'm hosting on Heroku, and I'm using the Datatables JQuery library to add extra features to a table. When I run my app locally, it works beautifully. When I deploy on ...
-1
votes
0
answers
33
views
DataTable Search
Please help me for searching.
If the search result pertains to employee information, what can I do to display the branch information they belong to on the first row of the table and the employee ...
0
votes
1
answer
34
views
django-rest-framework-datatables server side FieldError: Cannot resolve keyword '0' into field
I have followed the docs from here: https://django-rest-framework-datatables.readthedocs.io/
I am getting this error:
django.core.exceptions.FieldError: Cannot resolve keyword '0' into field. Choices ...
0
votes
1
answer
36
views
Datatables 2.0 - Set a table with custom layout using default controls
Before 2.0 I could display three of the default controllers -buttons, search, and page length using the dom option:
$('#data-table').DataTable({
dom: "<'row'<'col'l><'col' B>&...
0
votes
0
answers
10
views
Datatables - Dynamic data-order by columns.render
I'm trying to use "createdCell" to sort the column, I want to create a dynamic "data-order" attribute...
I have this HTML:
<table id="datatable_promotions" class="...
0
votes
0
answers
10
views
Datatable.Net rowgrouping include row columns in header
I have used the below javascript to convert my table as a datatable:
var table = $('#test').DataTable({
pageLength: 60,
paging: false,
searching: false,
bDestroy: true,
//...
0
votes
2
answers
80
views
Angular 17 with Angular-Datatables: Unable to Re-render DataTable
I'm working on an Angular 17 application using Angular-Datatables, and I'm having trouble re-rendering the DataTable when updating the data after a search. Below is the relevant code for my component:
...
0
votes
0
answers
16
views
Specifying options for the DataTables component for Vue 3
I've not used DataTables with Vue3 and I cannot figure out how to specify options like paging and scroll.
I do understand how to specify option if I was creating a NEW DataTable in Javascript, but I ...
0
votes
0
answers
32
views
Search Functionality in Laravel With PostgreSQL
I have been Working on search functionality in Laravel first of all this is my ajax request that I am sending to my controller with search input
$.ajax({
url: '{{ route(&...
0
votes
0
answers
11
views
Problem with Duplicate Change Events in DataTables After Copying a Record
`Problem:
We have built a feature in DataTables that allows users to copy an existing record. This feature lets users edit only the required fields (approximately 20+ fields) assuming that the ...
1
vote
0
answers
22
views
How to implement DataTables buttons in Falcon (Bootstrap theme)?
What I am trying to do
I have a html table where I would like to hide and expand certain columns using DataTables in a Bootstrap theme called Falcon.
Languages used
I am using PHP (version 7.2.24) and ...
0
votes
0
answers
35
views
angular 18 cli data grid plugin error NG0203: inject() must be called from an injection context
I'm having issues with a number of Angular data grid plugins... I've tried Angular DataTables, PrimeNG, Ngx-Datatable, Ag-Grid, Mat-Table and Kendo UI...
Every package after setup I get the following ...
1
vote
0
answers
36
views
How can searches too-large-for-regex be performed in DataTables in an R Shiny app?
I need to search a specific column in a DataTable for such a large number of terms that the table.search() using regex doesn't work. All of my search terms will either match exactly or not at all. Is ...
0
votes
1
answer
35
views
Flutter how to highlight multiple data rows on hover?
Background:
I am currently working on a sticky data table, currently I have two DataTable widget in a Row as shown by the code below.
...Row(
...