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

Working w/ Link tables

Hi I'm trying to implement a link table called GlobalSubsPacksRelations below. It stores IDs from GlobalSubsPacks.ID via GlobalSubsPacksRelations.SubPackID. It's a one-to-many relationship between...

View Article


inline row editing, returned server data

Hi there, is there an option for inline editing to update the editor row data with the returned data from the server after an inline edit, i've tried the options on this page:...

View Article


Multiple Database Connection

Hello Editor Server side multiple connection and select trying but im have problem. my config.php configuration : $oracledb = array( "type" => "Oracle", "user" => "user", "pass" => "pass",...

View Article

Editor as FTP environment

Good morning, I hope you are well, in this current situation. I am trying to create an environment in which users (students) can download folders with files, using FTP. The question is, if you could...

View Article

Mjoin not working

Hi There, No matter what I do, I can't get the Mjoin to work the way I think it should work. I've looked at examples but the error message I'm getting; sError: "Join was performed on the field...

View Article


Validator Editor PHP

I use multiple front end editors with the same back end editor instance. This causes problems with validators: If a field is not set built-in validators just return true and don't seem to do the...

View Article

Strange OnReturn behaviour

Hi Not sure if I've missed something here but I have come across an anomoly which has left me a bit stumped. I have been using DataTables for a long time now and it is indeed a fantastic framework,...

View Article

Using render in datatable makes it readonly but want edit

Hi, I am using datatable and Editor plugin along with. I have written render for a column and it is showing the value with % but readonly mode. Is render meant to make the field readonly. The need to...

View Article


New Server Slow response to server querywith Editor

I have recently upgraded to a new server and suspect that the issue is with configuration, the query size is only about 3-5k items however it is routinely taking about 10-15sec to render the below:...

View Article


editor presubmit this.field(field).val() returns empty String

Hi, when I use this code //editor stagiaires en vrijwilligers //aanmaken editor var editor; editor = new $.fn.dataTable.Editor( { ajax: "../libraries/Editor/OverzichtMedewerker.php", table:...

View Article

Dependent Firing Multiple Times

Is there anyway to stop or control how a dependent field is fired when the editor form initially opens? For example, I have two dependent fields in my form: { label : 'Type:*', name :...

View Article

Global validator PHP

I am referring to the discussion: https://datatables.net/forums/discussion/43608 I would like to understand why I can't get the id of the row while I can get the value of the other fields... $editor =...

View Article

Is the editor 'opened' event deprecated?

The Editor 'Reference' section lists the "opened" event. https://editor.datatables.net/reference/event/ https://editor.datatables.net/reference/event/opened The Editor "Manual" section does not mention...

View Article


default values for date time

Hello, I'm searching for a possibility to set some date time options globally. For i18n, i can set global defaults, but is this also possible for the field types. For example, something like this:...

View Article

Hide Row

How can i hide all rows of the table which where the date is smaller than the current date? I tried this: createdRow: function( row, data, type ) { if (data[2] < '09.04.2020') { $(row).hide(); } },...

View Article


Bring Editor's Modal to Foreground

I'm using Bootstrap's modal pop-up option to open a DataTable. This DataTable has an Editor instance associated with it. The table opens in Bootstrap's modal pop-up just fine. However, if I perform a...

View Article

Dependent ajax is firing everytime a field opens for editing.

I am using the dependent() api with editor for inline editing. It works great. There is just the one issue where the ajax is fired everytime the inline editor opens when I click on any field in the...

View Article


DataTables Editor Number Input POSTS String instead of Number in JSON Payload.

Take the following field definition as an example: { "name": "TotalDisk", "label": "Total Disk (Gb)", "className": "block", "attr": { "type": "number", "step": "0.01", "autocomplete": "off" } }, When...

View Article

Reuse editor inside another form

Hello In my project there is a central editor for working on booking items. In these items there is a link to an address. Outside the booking editor I have another editor for dealing the addresss. I...

View Article

select2 in editor

I am using datatables and editor in my project I replace select with selec2 I have 2 questions to ask and please suggest me some sample code for me to understand.My question are 1. How to display...

View Article
Browsing all 3740 articles
Browse latest View live