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 ArticleTable 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 ArticlePossibility 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 ArticleTypeScript: 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 ArticleKinto + 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 ArticleProblem 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 ArticleExclude 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 ArticleMultiple 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 ArticleYadcf 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 ArticleOverlay 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 ArticleHide 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 Articledatepicker 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 ArticleEquivalent 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 ArticleDataTables 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 ArticleColumn 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 ArticleHow 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 ArticleHow 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 ArticleHow 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 ArticleCheckboxes 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