Quantcast
Channel: DataTables 1.9 — DataTables forums

How do you set up a last updated function?

After editing a form I need to have it automatically update a field, last_updated, to the datetime like php now as you click to save. How do you do this?

View Article


processing text not appearing when using data: array, but does when making...

I have two ways to load datatables: 1- initially by making an ajax call when building the datatables. in the servlet I call I then store the json array in a session managed bean so I do not have to...

View Article


Input type number validation not working

Hi, I have a dataTable with input field of type number. It should only allow values greater than 0 , however the validation isn't happening and the data gets submitted even with negative numbers. How...

View Article

Default sorting

I understand that you can alter the Default ordering by adding: $('#example').DataTable({ order:[[3, 'desc'], [0, 'asc']] }); But is there a way to alter to original order so that if a user selects a...

View Article

Drag and drop column(Reorder column) call server each time

We have use serverside processing for datatable. While we reorder column it raise sever call.(Nightly Build version) Can we avoid this?

View Article


Or_where clause won't auto refresh anymore because of the or_where clause

Hello i have an or_where clause below that stops datatables editor from refresh after an edit has been made. Below is the code in quesiton. If i comment out the $q->or_where it will auto refresh....

View Article

ServerSide pagination working but diplaying all the data in single page, I am...

dom: "Blfrtip", serverSide: true, processing: true, fixedColumns: true, scrollX: true, paging: false, scrollCollapse: true, fnInitComplete: function(oSettings, json) { loading(false);...

View Article

modifying a row not getting updated to DB - row.invalidate()

I am trying to make a button that changes the value of a particular field ("status") for every selected row, and update to the database. I see the change happen on screen, but the change never gets...

View Article


How do you improve editor page load performance?

I have a number of forms varying in purpose and number of database fields from as little as 3 fields to over 100 fields, quite complex. The forms with minimal fields load quickly, mostly < 3 seconds...

View Article


Search Fuction not found

I am trying to use the search function on a custom text box in a mvc c# application however I am having an issue I am using datatable version Datatable version 1.9.4 I need to replace as I need to pass...

View Article

table.rows

How does one send the values of table.rows to a ajax post method and does the value of table.rows hold the pageintated data I want to pass the data to .net mvc controller for futher minpulation after...

View Article

Is there a DTE way to create 2 matching IDs in 2 separate tables when you add...

I have a table which I refer to as a primary table because it is used in many different forms. It forms the basis on articles, blog posts, FAQ, testimonials other. Many, most of these share use of the...

View Article

Is the sorting-option for comma and decimal in 1.9.x also possible

I've got a system running for years now with 1.9.4 Now i want to sort columns with i.e. 12,40 correctly like this: https://datatables.net/examples/basic_init/comma-decimal Is this possible in 1.9.x?

View Article


How do you reverse the rowOrdering sequence so that the new item get added as...

My form code: { label: "Order", name: "articles.rowOrder", type: "hidden", default: 1, }, How do you reverse the ordering sequence so that when you add a new item it gets the rowORder # as the highest...

View Article

Sorting Date column that includes time zone will not work

Is there anyway to sort this date column that includes the time zone? Example of it is below. If I remove the time zone i.e. "US/Central" then it does work fine. However, it was requested to include...

View Article


Can editor work on json txt file as data source?

We don't want to use a database for this since the information is very minimal. We have a txt file that contains json objects to load that datatables. I have that working, very similar to this URL...

View Article

On editor 1.96 question

I've seen this example below with the editor 2.0 (I believe?) https://editor.datatables.net/examples/datatables/select.html Currently I'm on 1.96, is another purchase required for to gain the type:...

View Article


Input field to scan barcodes to quickly select multiple rows to edit

Editor 1.96 being used. I tried searching in the forums but didn't see anything on this topic yet, just wanted to check if there is an existing api for this something like this: Have an input field,...

View Article

Formatted Date using Moment with AM/PM and TimeZone does not sort in FireFox

Using this code: $.fn.dataTable.moment('YYYY-mm-dd HH:mm:ss tt zz'); To format the date and it works and sorts fine in Chrome, but the sort button does nothing in FireFox, it does display the date...

View Article

How to set the default number of rows displayed

I have tried using "pageLength": 50, to set the fault number of records displayed in a datatables page, but it's not working. The page only displays 5 records per pagination. Any ideas? var table = $(...

View Article

Ellipsis renderer that can expand column to show full text

Is there somthing similiar to ellipsis renderer for long text columns that if we click into the column that would expand the column to display the full text?

View Article


How to put/insert/update/modify bonus to all employees in the table based on...

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem:

View Article


DataTables-Editor-Server.dll and MySql.Data

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: I have version 1.9.6 of DataTables-Editor-Server.dll and would like to know what is the highest...

View Article

Image may be NSFW.
Clik here to view.

Possible bugs with Opera browser v102.0.4880.56

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: Hi, I use Opera and presumably this is the same issue with Chrome and it is now throwing errors...

View Article

Slow footerCallback

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: I am using the code below but without the footerCallback, loading takes 20 sec. With it it takes...

View Article


Grabbing upload in-server validation errors

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: Hi all, please let me know if there is an event available in a client for the above. I have used...

View Article

Error "An item with the same key has already been added."

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: I'm working with MVC c# and Editor Datatables from http://editor.datatables.net. i'm getting the...

View Article

How do I do calculated fields on the server of a record being created or...

I have a very simple table with a few fields. The table has another six or so fields that are calculated on the server and saved as part of a record being created or updated. The calculated fields do...

View Article

How do you pass a customer's id to a datatable editor form?

This is in laravel. I have a users table and form and in a column a link to pass the $uid to another DTE page: ``return '<a href=/bin/inspections2?uid=' + data.users.id + '...

View Article



Image may be NSFW.
Clik here to view.

Datatable CDN Offline: Error 1000

in the past hours Datatable CDN has not been working, please assist? Here are the files we are using in production.

View Article