Is it possible to enable text fields to filter each column from the shortcode?
]]>I am trying to place the Excel and PDF export buttons, but they do not work, I don’t know if I need to place any additional parameters
]]>Hi, I need help with the error: DataTables warning: table id = table_1 – Invalid JSON response. For more information about this error, please see https://datatables.net/tn/1
I follow the steps of identifying the answer but I don’t know how to modify it. I estimate, it is Google Analytics that sends the invalid response.
https://snipboard.io/O6ItZH.jpg
https://snipboard.io/lJqH8c.jpg
https://snipboard.io/pHoNJ3.jpg
https://snipboard.io/38DA0M.jpg
I have little programming knowledge. The website is: https://comunidad.feriaregional.com.ar/conexiones-regionales/
]]>I tried to figure it out from a question that you answered for someone else but the example that you referred to no longer works:
https://dob.sk/aplikacie/financna-sprava/variabilny-symbol/rok-2017/
I’m trying to do a dropdown on one of the columns to filter. Thank you!
]]>Have just installed this plugin and when I try to activate it I get a blank page with this message only
“The plugin does not have a valid header.”
I just will not Activate.
I am on WP 5.2.2 on IIS
]]>Is there a way to get the export buttons and the search input after the table body? By default they are above the table body.
]]>Great Plugin!
Is there a way to realize column specific search? Like here: https://datatables.net/examples/api/regex.html
How would the code look like?
]]>Hi!
So I’ve specified only the year of my entries (“2019”) but I would like for the latest entry (e.g. April instead of Jan) to appear at the top of the table. Is that possible?
Thanks!
Alexandra
Hi. We’re trying to use this in a custom-type template in PHP, and I should be using the do_shortcode, but since the shortcode call here is something like this:
[wp-datatable id=”mtable” fat=”1″]
paging: true,
responsive: true,
ordering: true,
buttons: [
‘copy’, ‘csv’
]
[/wp-datatable]
I don’t know how to deal with this by using the do_shortcode function. Any help on how to approach this? thanks!
Hello
I probably find a bug.
The search function does not work with the ajax system of wordpress. The paging and sorting functions works well however
Here is the code where it does not work
ajax: {
url :ajaxurl,
type : ‘GET’,
dataType: ‘json’,
cache: false,
data: {
‘action’:’ajouteespeceidentification’
}
}
Here is the code where it is working
ajax: {
url :’myurl’,
type : ‘GET’,
dataType: ‘json’,
cache: false
}
The first solution is better because it load wordpress functions and we can use then global $wpdb; to make query.
Any solution?
Thanks
]]>I searched through the reference….
What is my mistake:
buttons: {buttons: [
{extend: 'copy', text: 'Kopieren'}
{extend: 'print', text: 'Drucken'}
{extend: 'csv', text: 'CSV'}
{extend: 'excel', text: 'Excel'}]},
]]>
How can I translate language options into the shortcode:
Original from datatables.net
$('#example'String).DataTable( {
language: {
paginate: {
previous: '?',
next: '?'
},
aria: {
paginate: {
previous: 'Previous',
next: 'Next'
}
}
}
} );
]]>
Hi there,
i don′t know what I do wrong.
My markup
‘
[wp-datatable id=”ketotable” fat=”1″]
paging: true,
responsive: true,
ordering: true,
buttons: [
‘copy’, ‘csv’
]
[/wp-datatable]
<table id=”ketotable”>
<tbody>
<tr>
<th>Aktivit?t</th>
<th>kcal/Std.</th>
</tr>
<tr>
<td>Aerobic</td>
<td>160</td>
</tr>
<tr>
<td>Badminton</td>
<td>428</td>
</tr>
</tbody>
</table>’
Nothing shown in front.
]]>Hi
We have developed a table using bootstrap data tables which reads data from Mysql. We want to switch our whole site over to wordpress front end so the IT team can change the themes, pictures etc but we need to still have the datatable.
1. Does your plugin connect to mysql database
2. Can filters and sorting be added to the columns
3. Does the whole site including the datable become reponsive ie work on a mobile with not a lot of customisation
4. Can we add our own PHP code to filter/interrogate the table
Cheers
]]>Hi,
how could we use table data from an Excel or csv file (e.g. in Uploads directory) as input for this plugin?
Stefan.
I started this conversation a few months ago and then I left this project for something else, but now I am back on this issue.
My very basic, initial question:
If I have:
[wp-datatable id=”table1″]
responsive: true
[/wp-datatable]
Where is “table1” supposed to exist? it should be already in the page, in the html?
That becomes a more important question if I am generating the json from a database
Hello!
How I can set Column visibility for different users?
I’m using airtable to collect my database information. How can I use this plugin to display the information from airtable?
]]>Greetings. Is work with Excel forms implemented?
Or do you plan to add it in the future?
Hello,
Can this plugin alone achieve exactly like this?
https://www.ncai-cc.ccf.org/new/fundedProjects/
If so, how?
Thanks
]]>Hello,
I have created about 30 datatables to display on our website all using sql queries. I have them all linked to a dashboard page where I am using the column sum shortcode to display the metric to click to obtain the report. The problem is that the page takes a very long time to load as it appears to be fetching all data for all 30 reports in order to display the metrics. Any ideas on how this can be done with improved speed?
Here is an example of the shortcodes I am using on the dashboard page:
[wpdatatable_sum table_id=7 col_id=57]
Thanks,
Rob
?Hi – question about your URL filtering. The filtering sort of works – it populates the filter column header but it does not actually filter the data until I focus within the filtered column section and enter.
A bug? And is there a workaround?
]]>Hi,
this plugin works fine. But I could not include
“responsive.details.display”.
I tried this in the shortcode but it doesn’t work:
(from https://datatables.net/reference/option/responsive.details.display )
responsive: {
details: {
$.fn.dataTable.responsive.display.childRowImmediate
}
}
Is there another way?
]]>When my site loads, it creates a Javascript variable, “portfolio_info”, containing an array of objects used as a lookup table by numerous Javascript functions.
I would like to display some of this same data in an HTML table created with the WP DataTable shortcode. How can a refer to this lookup table variable inside the shortcode?
Thanks
B
]]>I’m trying to make some columns not sortable and found this…
https://datatables.net/forums/discussion/21164/disable-sorting-of-one-column
…but I’m not sure how to implement it in the shortcode. I have two columns with the class ‘no-sort’, but am not sure what the next step is.
Can you please give an example?
Thanks – Lux
]]>I don’t understand how to use the plugin.
I have a plugin that generates a table from a MySQL query.
Can I use wp datatables in connection with my plugin?
If so, where am I supposed to place the codes to generate the datatable?
Is there a front end to the plugin? I don’t see any.
If I have a static table, where do I place the code?
]]>Hi,
Is it possible to use Ellipses for long text?
Thank you!
]]>Hello,
I tried to load a json file with ajax but it doesn’t seem to work.
Here’s the code:
[wp-datatable id="table"]
paging: false,
responsible: true,
search: true,
stateSave: true,
ajax: {
url: "<em>URL</em>/webradio_test.json"
},
dataType: 'json',
cache: false,
type: 'GET',
columns: [{ "data": "URL" },{ "data": "public" }]
[/wp-datatable]
Here’s the json file:
[
{
"URL": "4urock.com",
"public": "tous publics"
},
{
"URL": "77fm.net",
"public": "tous publics"
}
]
Any idea about where i did some mistakes?
]]>Hello,
Is there anyway to load a language file?
I tried this way but it didn’t work. :/
[wp-datatable id="table_webdoc" FAT="1"]
dom: 'Bfrtip',
paging: true,
responsive: true,
ordering: true,
language: {"url": "dlweb-doc/wp-content/plugins/wp-datatable/French.lang"},
buttons: [
'copy', 'csv', 'colvis'
]
[/wp-datatable]
Thanks
Cheers!
8oris
]]>For some reason the sorting images not found in 0.2.3
Failed to load resource: the server responded with a status of 404 (Not Found)
sort_both.png
sort_asc.png
What can be wrong?
]]>