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

$.fn.dataTable.Editor is not a constructor (Trial installed today, 20/09/2021)

Below is my code, very simple; but for some reason i am getting the following error: jquery-3.5.1.js:4055 Uncaught TypeError: $.fn.dataTable.Editor is not a constructor at...

View Article


How to use SweetAlert2 in onPreClose event

This is my code below, as SweetAlert2 is async alert. It is working to some extent, the editor close already before the preClose editor.on('preClose', async function (e) { // On close, check if the...

View Article


Image may be NSFW.
Clik here to view.

Multiline Editing whith many different values

Hi, I'm having a problem with Editor 1.9.2. When editing multiple lines; if every line contains the same value for the same field than everything goes fine. However, in the case when I have different...

View Article

Inline editor not preserving new edits

Hi, I'm using the example at https://editor.datatables.net/examples/inline-editing/simple to create a datatable with the inline editing feature. However, when editing values, as soon as I click on...

View Article

Image may be NSFW.
Clik here to view.

Anyone have a duration picker editor plugin?

I need something like this I can build it myself but I was hoping someone had one. Couldnt find one out there on google for DTE yet.

View Article


Is is possible to disable the Edit button when a selected row is filtered out...

Is is possible to disable the Edit button when a selected row is filtered out by a search? For example: 1. Go to https://editor.datatables.net/ 2. In the example table, click on the first row (Name:...

View Article

Image may be NSFW.
Clik here to view.

There is any solution/workaround to avoid presubmit on unchanged cell values?

Hello! I am having trouble switching between columns via tab key. When I switch, the presubmit is triggered even when i don't change any of the cell values. While I was searching for a reason, I found...

View Article

one-to-many relationship

How should I choose whether to use one-to-many join with a link table, or to implode the values of checkbox into a string with the separator and store as a text field directly?

View Article


using upload class

I have used papa parse to read a csv file. However, I have a file that I need to parse manually because it is not in a csv format. I see that papa parse 'hijacks' the ajax call to do its work, but I am...

View Article


Inline Editting, Values disappear until table is refreshed

when submitting a change the db is updating, but the value in the table reverts back until the table is refreshed

View Article

Copy a line to generate a new line(ROW)

I have A Products table.Use Inline editing,In order to quickly enter the same line, I want to copy a line to generate a new line. Is there an example for reference?Thank's

View Article

Editor Copy row, ckeditor

I've created a button for duplicating row, everything works except the ckeditor type field. Any thought why that is? Also, how can I manipulate the data before, and fire functions after, a row is...

View Article

Column gets submitted on save with no change

I have inline editing on my table and when I click submit for changes, the data always includes one column (complete) regardless if the value within it changed. Is there a way to fix my code so I'm not...

View Article


datepicker minDate

I need the minDate option to depend on a value in another datefield. I read that minDate won't accept a function, so what I have seen in non-DataTable projects is code like this:...

View Article

Sorting Error for the Column with Data from Joined Table

Hello, I am using the DataTables Editor Join functionality. For the column that displays data from the joined table, the sorting cannot be performed. Test Case:...

View Article


Get row id from Request.Form

When submitting inline changes from the datatable, i get the data from the controller using HttpContext.Request.Form. To get the value of the submitted field I loop through all keys and get the value...

View Article

How can I display the decimal values ​​in the Editor.

Link to test case: http://live.datatables.net/gowulize/1/edit Debugger code (debug.datatables.net): Error messages shown: https://postimg.cc/V5DksXCH Description of problem: I have not been able to...

View Article


Image may be NSFW.
Clik here to view.

Change "tmp" dir for uploading file - PHP / Upload / Editor

Hi All, I'm trying to upload an image using the Editor PHP library. Following the manuals, I have got it down pretty well (Allan you are a legend!!) When uploading, traditionally, the file is stored in...

View Article

PreEdit issues - Joining two columns for insert/update

I'm using the following to insert the values of two columns into another column in the same table using the preEdit function. It's producing the error: Fatal error: Call to undefined method...

View Article

How to correct the operation of the up/down arrows when entering a number...

Link to test case: http://live.datatables.net/gasituho/1/edit Debugger code (debug.datatables.net): Error messages shown: Description of problem: Problem 1: When using the up/down arrows with increment...

View Article
Browsing all 3740 articles
Browse latest View live