Sum of selected rows at footer
Hi, Using the Editor API, I'm doing sum of a column say Total_Allocation but for selected rows of the table only. Without selected rows, I used following code and which works perfectly ::...
View ArticleHow to only show unique records
Hello, I noticed that SELECT DISTINCT has been discussed multiple times in this forum but I was not able to find a solution that worked for me. I have the following records displayed as 'view only':...
View ArticleInline edit alignment off when initial value shorter than new value
Link to test case: http://live.datatables.net/piyizowi/1/edit Debugger code (debug.datatables.net): N/A Error messages shown: N/A Description of problem: On the test case page, without resizing it, set...
View ArticleInvalid Json
All of a sudden all of our Editor tables stopped working. When I look a the XHR response I see the ajax data but when I run it through lint it says: Error: Parse error on line 1: data[{ …}, { …}, { ^...
View ArticleInvalid Json
All of a sudden all of our Editor tables stopped working. I get the invalid JSON message. I see an ajax response with the data we need but when I run it through lint is says: Error: Parse error on line...
View ArticleMjoin - Not inserting or updating, but delete works
I have multiple Mjoins in a script, they all work properly except for one, which doesn't do any inserts or updates into the lookup joined table. If I manually add the data through phpMyAdmin into the...
View ArticleLooking for Editor version compatibility with required Datatables versions
We currently use Editor 1.8.1 and wanting to upgrade to 1.9.6. Is there a compatibility matrix around that will show the minimum and maximum compatibly Datatables version for each Editor release? I...
View ArticleMultiple columns of bit data type
Hello, I have multiple fields in Editor, which all have a data type of bit or Booleans: editor_0 = new $.fn.dataTable.Editor({ ajax: { url: "/api/dataSetComplete", }, table: "#dsAll", fields: [{ label:...
View ArticleEditor will only delete if it has completed an Edit or Create first
I am using the latest versions of DataTables (1.10.25 - from CDN) and Editor (2.0.4 - local from recently purchased license download). My use case calls for multiple pairs of editable tables within a...
View ArticleMerge multiple columns into a new column
I want to merge multiple columns into a new column just for the merged columns, not including any other data. Columns are 4 to 11 inclusive as per code below. I also want to format the contents (the...
View ArticlePHP Field Validator custom closure function parameters
I have a use case where the Database schema is designed in a Data segregation prospect with a lot of reference key constraint to insure data integrity, and using multiple LEFT JOINs to use them in a...
View ArticleBootstrap Datetimepicker not displaying ( Editor + bootstrap 5 )
Hi I'm having trouble using the date in the editor datatable using bootstrap 5 , When I tried to use what is described in this lesson : https://editor.datatables.net/examples/styling/bootstrap5.html...
View ArticleGlobal Validator - Undefined Index
I'm trying to use the global validator as per the example at: https://editor.datatables.net/manual/php/validation#Examples I'm getting an error: Notice: Undefined index: learning_event.low_vision in...
View Articlenested editor layout
I would like a different layout for the nested datatable field editors, specifically the location of the buttons and search box. I tried explicitely setting the dom attribute and while it does seem to...
View Articlecan u make example for Multiple selection without pressing ctrl button
label: "Participant:", name: "tbl_employee_master[].idnumber", type: "datatable", multiple: true
View ArticleValidation of dependent fields
Hello, I am trying to do the following but have not found a solution yet. I have 7 fields in my table. For example, if field 1 is filled, field 2 must not be filled. In the frontend, field 2 is hidden...
View ArticleMD5 encrypted password cannot be saved
->fields( Field::inst( 'id' )->set(false) //ID是自新增的,加上set(false才能新增后自动刷新) ->validator( Validate::notEmpty( ValidateOptions::inst() ->message( 'id is required' ) ) ), Field::inst(...
View ArticleRowreorder on Datatable as editor field does not work properly (overwrite row...
Hi. I am trying to create a tabular custom editor field using datatable. Everything works fine until I need a rowreorder functionality. I managed to get it working. But when I tried to drag-drop the...
View ArticleDatefield not before second date field
Hi, I have tried searching this, but not seeing what I need, apologies if I have missed it. Is there a way ensure that date A is not before (less than) date B? or do I need to just function this with...
View Article