Quantcast
Channel: Recent Discussions — DataTables forums
Browsing all 82669 articles
Browse latest View live

Hiding columns in ColVis extention for Buttons not working, what did I do wrong?

I have the following definition for my first five columns(there are many more than that): "columns": [ { "data": "HasOwnerHistory" , "orderable": false , "visible": false , "className": 'notToggleVis'...

View Article


Image may be NSFW.
Clik here to view.

Table with select form

Hi, here is my code: Javascript: $(document).ready(function() { $('#example').DataTable( { "ajax": '../ajax/data/arrays.txt' } ); } ); HTML <select id="office-select" name="idOffice"> <option...

View Article


Custom Button to Edit a Modal Form

I'm new to DataTables, but I have a custom button that I am using to edit the data in the Modal form. Currently, I like to use the modal form, instead of the standard edit form that comes with the...

View Article

Get Fresh data after postEdit in editor?

i have three parameters time_in,time_out,hours so if user change time_in or time_out then hours calculated automatically.so thats why i am using postEdit for that But after update it is returning old...

View Article

Upload image file name - incorrect

I need some help. I have been successful in uploading images and they are being stored on to my server. But the trouble is when I look in my database the file name is incorrect. Not sure why that it...

View Article


Cannot read property parentNode of null

Hi, Maybe we're doing something wrong, but when having multiple datatables in the page (some of them hidden in tabs) we get exceptions in the following lines of codes. Original line of code: if (...

View Article

How to impelement row grouping function for datatables?

As title, I want to implement row grouping funciton which likes the sql grouping function for datatables, I can use ordering or searching for grouping row or subgroung row. Is there any solution for...

View Article

sorting icons show behind header text with nowrap table class

And yes, I know this has been addressed before but I have gone through every answer on this forum and elsewhere trying to fix it and I can't seem to get the icons to play nice. Debugger ticket...

View Article


On colReorder fnRowCallBack is not called in version 1.10.13?

Hello i am using jquery datatables but in version 1.10.13 on colReorder neither drawCallBack nor rowCallBack is called is there any issue with this ???

View Article


Populating datatable with FTP directory images

I am populating a datatables table with images on a FTP server. I'm declaring my TRs and TDs and a TR has 5 TDs. I have PHP code to formulate these TRs and TDs. Datatables is working perfectly with...

View Article

AJAX - Strange comportement

Hi, I've written the following JS function in order to create a datatable. $(function(){ $.ajax({ url: "script/getdatabuyertables.php", datatype:"json", success:function(result){ var data = result;...

View Article

RowReorder bug with scroller extension

Hello, there is a bug when using rowreorder extension together with the scroller extension. Example to reproduce bug: https://jsfiddle.net/99358x8p/10/ To reproduce the bug use the following steps: 1....

View Article

JSON ENCODE view - multilines

Hello, in mysql have text: {"id":"133","calendar":"2016-12","uzivatel":"","file_pdf":"135"} I want for print view text in datatable in beautiful print: { "id":"133", "calendar":"2016-12",...

View Article


PostCreate, PostEdit and PostRemove logging to save on other database

I want to PostEdit to save logging on other database and no save to same database ! function logChange ($db, $action, $id, $values) { $db->insert('logs', array( 'user' => $_SESSION['user'],...

View Article

Validator for three values and message

I want to ask how the validation - for example: Field::inst('column1'), Field::inst('column2'), Field::inst('column3') ->validator(function($val, $data, $opts) { if (($data['column1'] +...

View Article


Export to XLSX with customized styles

DataTables has some 67 built-in styles for customizing cells in an exported XLSX document. Is there a way to edit or add to these built-in styles, or to create a customized style that gets added to the...

View Article

Regex search in default search field not working as expected

Hi there, we are trying to make use of regex searching, but there seems to be some problem with it when trying to go for an OR search. For example, when searching for "Berlin or London" I would enter...

View Article


Buttons extension installed, get nothing but empty div

Hi all, I am stumped on trying to use the Buttons extension from https://datatables.net/extensions/buttons/ Here is my setup. I have installed it by npm, and my html is sourcing these datatables...

View Article

lengthMenu is hidden when dom/buttons are enabled, need help

I'm not sure what's happening here but when I'm wanting to create records I can do it without a hitch, however there are instances where I want to display more than 10 records at a time, so I enabled...

View Article

Confused about buttons documentation

Hi, I'm trying to follow the code on https://datatables.net/extensions/buttons/ to get buttons working with DataTables, but it doesn't seem to be a complete example. Specifically, if I add the buttons...

View Article
Browsing all 82669 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>