Quantcast
Channel: Editor — DataTables forums
Browsing all 3740 articles
Browse latest View live

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 Article


How 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 Article


Inline 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 Article

Invalid 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 Article

Invalid 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 Article


Mjoin - 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 Article

Looking 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 Article

Multiple 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 Article


Editor 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 Article


Merge 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 Article

PHP 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 Article

Image may be NSFW.
Clik here to view.

Bootstrap 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 Article

Global 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 Article


nested 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 Article

can u make example for Multiple selection without pressing ctrl button

label: "Participant:", name: "tbl_employee_master[].idnumber", type: "datatable", multiple: true

View Article


Validation 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 Article

MD5 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 Article


Image may be NSFW.
Clik here to view.

Al guardar un registro con datatable edit, no me devuelve el registro guardado

View Article

Image may be NSFW.
Clik here to view.

Rowreorder 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 Article

Datefield 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
Browsing all 3740 articles
Browse latest View live