How can I use "Multi Filter Select" by literal javascript
I've been using the dataTable by a literal field in asp.net, but if I try to use the Multi Filter Select as an initialization parameter, nothing happens. Follows the code: StringBuilder str = new...
View ArticleHow to get row index of recently added row
I'm converting an existing table to one using datatables. The existing table is dynamically built by calling a custom backend, building each row in html, and jquery append to the tbody element. I them...
View ArticleValidation on MultiEdit
Hello, I have setup a self-join in a checkbox. In this checkbox I can select table names, while the DB stores the corresponding table id . As this checkbox is an optional input field, I can also select...
View ArticleWeird behavior when option "scrollX" is set to "true"
When I load the page, the data-table is being rendered really weird when option "scrollX" is set to "true". Have a look at my code: $(document).ready( function () { $('#tblSales').DataTable({...
View Articlepass variables to server side... no array examples
please i need pass one value from html datatables render to php server side class, and use this value for where clause and bring to front only records affect not all. help me
View ArticleHow do you call a function (or trigger blur()) for an inline datepicker upon...
Allan, I have a dateTime field inside of an inline DataTables Editor. I have a custom function when the datepicker.blur() event occurs; however, I need to fire said function when a valid date (as...
View ArticleChildRows of related Tabel
Hello everybody :) I've followed this example: https://datatables.net/examples/api/row_details.html. I've used it in my MVC5 ASP .NET App With EntiyFrameWork DataBase first and it worked fine :) Except...
View ArticleChild Row - Data object "d"?
Hey, This is a complete noob question, but.... I'm trying to install child rows on a table. I'm following the example here (https://datatables.net/examples/api/row_details.html), but I can't work out...
View ArticleColor the row by the field value in the column
I'm using a function code, which unfortunately only works when loading a table, when using the coloring search disappears. Do not you have an idea how to solve it so that the coloring is also in...
View ArticleNeed to write data to ID column but display usernames on front end
Hello, This is going to be a long post, but I need to make sure I'm explaining it all correctly :) I'm so close to figuring this out, but lack the last piece. I am working with the PHP libraries, and I...
View Articletrying to update sql cell but getting syntax error
I'm writing code to update 2 cells of an sql table and I'm getting a syntax error with the following line of code: <code> UPDATE afdt3235 SET 102='NdNicSg98NkM9cEZB7/SNQ==', 103='N' WHERE...
View Articlehow to use filter
https://datatables.net/reference/api/filter() I put data-filter to td attributes. <td class="text-right" data-filter="{{ obj.id }}">{{...
View ArticleCustom button with id of the row index (not the row id
Hi all! I am new to datatables and having an issue (a 8 hour issue) trying to figure out how to create a custom button that has an id of the current row index from which it was clicked. Here is my...
View ArticleIP address sorting
I have a table with IP addresses in the first column. I am using the ip-address plugin and the automatic type detection plug-in for the ip-address type. This works. IP addresses are sorted correctly...
View Articledatetime-moment with dynamic table not working
G'day, I've been using DataTables successfully in a number of projects, thank you for such a useful tool. Currently I'm trying to use the datetime-moment plugin with a dynamically created table, and I...
View ArticleHow to stop automatic page jumping to page 1 ?
HI, When I am at any page other than 1 after few seconds it is jumping back to page 1 again exactly to which file i need to make the change.
View ArticleServer-side child rows fetching
Can anyone show me a simple example of using a call to the db to retrieve data for a child row?
View ArticleAsp.net Core and Entity Framework Core support for datatables
I just wanted everyone to know that the C# Datatables server side parser now supports .net core. It is tested with both MySql and MS Sql Server for linux....
View ArticleAutoFill and KeyTable together with option: editOnFocus
I would like to draw your attantion that there is a problem with the autoFill extension, that does not work properly if the EditOnFocus: true option is used in the KeyTable extension. Due to use...
View Articlerender currency to locale format
Hello, Is there a way of setting Datatable to show the currency in locale format? If I run Datatable in Spain i'd like to see one thousand as 1.000 and in USA as 1,000 Thanks in advance
View Article