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

Is it possible to check and validate file type on presubmit ?

Currently in my form I'm checking whether or not the field has a value and also length but I'm wondering if there's a way to check the file type on uploads as well? This is my code for the presubmit...

View Article


Image may be NSFW.
Clik here to view.

Table column width issue

Hi, I am trying to use a script from link below: live.datatables.net/saqozowe/2/edit But the result, my table last column become very very wide, extend to the end of browser. See picture below:...

View Article


Possibility to save 2 different values in Database with 1 checkbox

Hi there, Has one of you already experience with the following situation? I would like to save a value with a checkbox in two different DB tables, e.g. 1. DB table bookings -> value status = "new"...

View Article

TypeScript: Which type definition package to use?

Hello! I found (at least) two different type definition packages on https://www.npmjs.com a) @types/datatables.net b) @types/jquery.datatables Both seem to be comprehensive on the first glance. However...

View Article

Kinto + Editor local first storage?

Just starting to dive into browser local first storage with DT Editor and Kinto and was wondering if anyone has any experience here? I need to study the Kinto api quite a bit more but I'm hoping I can...

View Article


Default Regex

i want to know what is your default regex that you are using for search

View Article

Problem implementing child rows with expand/collapse

I am trying to create a table with expand/collapse child rows as in the example on this page: [https://datatables.net/examples/api/row_details.html] However, when I add the column definition below...

View Article

Exclude columns from ajax.reload

Hi all, first of all I want to tell that I really enjoy using Datatables. Especially because there is a lot of documentation available. However I can't seem to find how to exclude columns from...

View Article


Multiple child rows

I've created a table of job listings with a child row that is normally hidden but can be expanded/collapsed as shown in the child row example https://datatables.net/examples/api/row_details.html. The...

View Article


Yadcf Bootstrap datepicker problem

I'm having hard time with the Yadcf Bootstrap datepicker... Is anyone using Uxsolutions date picker with Yadcf https://github.com/uxsolutions/bootstrap-datepicker Instead of Eonasdan provided in Yadcf...

View Article

Image may be NSFW.
Clik here to view.

Overlay image in a cell

Hi Guys, I am pulling an Image for the first cell and some text for the second cell from a database. I have a responsive layout using the following: ''' columns: [ { data: "blogTitle" , title : "Title"...

View Article

Hide cell borders.

I see the docs here: https://datatables.net/manual/styling/classes#Table-classes but I am not understanding how to hide the cell borders. Cheers Steve Warby

View Article

datepicker has Today() as value, not the datetime in the fields

My question is two-fold and may have one answer. I got my date fields to sort like I want in the table with moment.js - very cool. But, when I edit one of those values the editor show today's date in...

View Article


Equivalent Timestamp Query from SQL to PHP Datatable file

I've got some sql code that I run to get a timestamp to equal the curdate() SELECT tbl_customers.prin, tbl_customers.cust_loaded, tbl_customers.technician... FROM tbl_customers WHERE c_status = 1 and...

View Article

DataTables ajax.reload() not working

I am using server-side DataTable paging. This works fine on the first click of the button, however on the following button clicks, the ajax.reload isn't working and the ajax data valeus doesn't change....

View Article


Column Search

Hi, Can anybody tell me how I would go about using a button to instigate column search? I currently search on change, here's my code // Category Search $('#category').on( 'change', function () { table...

View Article

How to show the standard "Loading..." message ?

I have seen the effect of using Processing: true, but I would like to be able to display the standard "Loading..." message like in the initial data loading... Is this possible ? Thanks !

View Article


How to scroll up in datatable pagination and stay there

Hi, I have one datatable pagination i have applied following query to scroll up it is going up but after few seconds again coming down dt.on('page.dt', function () { $('html, body').animate({...

View Article

Image may be NSFW.
Clik here to view.

How to vertically center a sort icon when a column has rowspan

I want to vertically align center the sort icon of the column product id, How can I achieve this?

View Article

Image may be NSFW.
Clik here to view.

Checkboxes sometimes not being checked after .update()

I'm running into a strange bug where checkboxes which should appear checked in the editor window do not. When I close the editor window (changing nothing) and simply click "Edit" again the checkbox is...

View Article
Browsing all 82359 articles
Browse latest View live


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