826
questions
0
votes
0
answers
5
views
Sorting in datatable not working when loading data dynamically
I'm using datatable and need to load it dynamically on every request/update. This code is working fine in all aspects but the sort functionality is not working properly. I tried using ChatGPT, ...
0
votes
0
answers
29
views
How to get only hidden/invisible column values in a jQuery Datatable
I am working on a jQuery datatable in which there are 5 rows and 4 columns. I loaded the data in the datatable using a hardcoded dataset. After filtering the first column, there are only 2 rows in the ...
0
votes
1
answer
130
views
How to filter column in the jQuery Datatable
When the below code runs, it will display a datatable with values on it. There is a filter icon on each header column. Click on the filter icon on the header column, it will drop down a filter menu ...
0
votes
0
answers
23
views
Data table not working in jquery ajax response
I want to show data in a pop-up using data-tables. I am building pop-up on click event and when I get success response from AJAX Request then I want to show that data in data-tables format(pagination, ...
0
votes
0
answers
35
views
How can I fixColumn and adjust the content of fixedColumn columns?
Currently I am using a 3rd party datatable library.
Here is my configuration when re-rendering the mesh to start loading the input data.
_columns: is the list of columns I declared earlier
Code:
tbl....
0
votes
0
answers
71
views
DataTables 1.10 - column width is not working as expected
I have defined a datatable per the below. I am using bootstrap 5. I have read this thread but I still cannot get column width to work. I have tried to change the width using 5%, 500%, 100%, 5px, ...
1
vote
1
answer
108
views
Datatable .column() not returning anything
I have the following code using datatables 1.10.18 (yes, I know, it's old code and updating the datatables version would require a lot of rewrites):
<table id='testtable' class='datatable'>
&...
0
votes
0
answers
36
views
Error after Adding new row in Datatables and altEditor
I am adding this screen to a very old application that was build in Struts 1.3, EJB 2.0.
Trying Dynamic Add/Edit/Delete/Refresh rows. Using Datatables and altEditor. Following this example: https://...
0
votes
1
answer
75
views
I need to decode $_POST so I can see what my javascript is actually sending to my php probram
I am using jquery datatables and I want to send a date to the php code to use in my parametrized query Here is my datatables ajax entry:
ajax: {
url: "php/stopCodes.php",
...
0
votes
0
answers
28
views
How to fix datatable body miisalignment issue in column search filter
I having JQuery datatable with column search and horizondal scroll. When I press tab key in column search header is moving but table body not moving. below is my code.
<style>
.frm {
...
0
votes
1
answer
47
views
Highlight selected row in DataTable
I have a table that is using the DataTables library that appears in a modal with data. The idea here is that I will click on a row which will load information into a textarea. I have all of that ...
0
votes
0
answers
13
views
Onclick event not working in datatable1.10 after html gets altered via responsive mode [duplicate]
I'm using datatables 1.10 with responsive mode. There is a button in each row that i've added an onclick even for in the document.ready() function. However when the screen width gets smaller and the ...
0
votes
0
answers
61
views
Plugin conflict in WordPress
I've been using the wpDataTables plugin on my WordPress site. I decided to download the DataTables + Editor libraries in order to get more functionality in creating the tables. I however now have a ...
0
votes
0
answers
140
views
Flask with DataTables Server-Side and Very Large Dataset
I have a huge dataset (around 1.5 million database records) that I fetch and display with DataTables. I want to be able to fetch all records from the database without the web server going down due to ...
1
vote
0
answers
27
views
Datatables: How to show a variable number of rows on each page?
I have a table that shows the last week of events.
I'd like to show a day's events per page. So that could be 5 or 18 or none.
How can I do something like:
// Create the datatable
let dt = $('#dt')....