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

Losing select2 field value when loading options via ajax

I have a select2 field (problem_field) whose options depend on the value of another field (dependant_field). I update the options with: editor.dependent("dependant_field", function (val) { $.ajax({...

View Article


editor.dependent does not appear to trigger at editor open

To simplify things, I have two fields on my form, one is a check box field, the other a text field that should be filled out if one of the check boxes is checked. The check box field is called...

View Article


Form with Multiple Steps

Is it possible to create a form with multiple steps. I need many data in one form and this looks overloaded. Andreas

View Article

Editor node.js - Editing multiple columns and use value from another column...

I use .on('preEdit') ... to set a value of a column ('title'). The value I use is from another column ('name'), that I transform. It works fine if I edit one column. But if I edit multiple columns ......

View Article

right sytnax for addClass to the row depending on data

i'm using datatables Editor and love it. often i struggle with the syntax (my javascript is not that good). maybe someone can help me out. i'm sure datatable can handle this. thx a lot. i want to add a...

View Article


checkbox options

I have problems with the checkbox options. I used this example https://editor.datatables.net/examples/advanced/joinArray.html to implement it. But i dedected problems two problems. 1. in the example...

View Article

Show Mjoin fields as text input

As I have been checking on the forums, I can see where the join->mjoin shines when it comes to creating option lists and file dile viewing. My use case is a little different. I want to display the...

View Article

Appending to a Notes Field in Editor

What would be the best approach with Editor to append to a Note field? I'd like to have something that displays (readonly) whatever is already in the note. and a blank input that allows me to add to...

View Article


Bubble editor question

Is there a way to make a field's contents be selected when you open a bubble editor on that field?

View Article


Combobox dependents

Hello, I am trying a functionality that I do not know if it is possible in Datatable Editor. I have two fields that are edited with combobox: titulo_id and capitulo_id of the tb_tutorial table. The...

View Article

google recaptcha

I have a provlem with the google reCaptcha v2. I have implementet it in a single Editor with this code: $( '#usr-signin' ).on( 'click', function() { auth .title( '<i class="fad fa-sign-in-alt...

View Article

After successful inline editor ajax update and change of focus, editor...

The editor type is textarea. The json response appears to be formatted per requirements, and indeed an api call to get the row data after the update shows the correct new data. There are no console...

View Article

Issue in getting Join to work with Editor

I have been looking at the example https://editor.datatables.net/examples/simple/join.html to get a left join to work with MYSQL and Editor. A really great example, that I have followed more or less to...

View Article


Best Way to manipulate autonumber

Hi Allan, I want to insert an autonumber that generated by some format from database. I already tried initSubmit and preSubmit to manipulate, but it wont work. edtJobPosting.on( 'initSubmit', function...

View Article

Editor 1.9.0 - timepicker (old style)

i just updated to editor 1.9.0 - the design of the timepicker changed (which i don't like, becaus it takes alot of space). can i use the old (select style) ? but how.

View Article


COLOR PICKER

Is there an easy jquery color picker I can use? Example and code injection point would be appreciated.

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


Problem with Radio buttons being initialized when I have a dash in the name

I have a field { label: "Inversion", name: "sa-settings.inversion", type: "radio", options: [ { label: "true", value: "true" }, { label: "false", value: "false" } ], id:...

View Article

Editor - Join - Link Table - Unable to automatically determine field from...

Please help. I'm trying to use JOIN with linkTable as shown: https://editor.datatables.net/examples/advanced/joinLinkTable.html My code is at:...

View Article

Editor with select box column returns first value when editing other columns

I have an editor datable with inline editing, one of the columns has a select drop down. If while editing a column that isn't the select box, in the preSubmit event, the value for the selectbox column...

View Article
Browsing all 3740 articles
Browse latest View live