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

Editor Submit only runs once; need help figuring out why!

var ajaxEditor = new $.fn.dataTable.Editor( $.extend(true, { ajax: function(method, url, data, success, error) { if (data.action == 'edit') { data.data = JSON.stringify(data.data);...

View Article


Server side validation with dependent editor fields

Hi Allan, further to this question https://datatables.net/forums/discussion/63624/apply-validation-to-many-fields I am also using dependent fields in my form for example in the code below I have the...

View Article


Multiple tables on one page - Reload second table on first table edit

I have two datatables on one page. The first table shows ACTIVE products. The second table shows INACTIVE products. If I deactivate a product in the first table doing an EDITOR update, it no longer...

View Article

Cascading Lists in Editor with select2

I read a blog 'Cascading Lists in Editor' (datatables.net/blog/2017-09-01) this is very good but I don't use PHP and .NET. I have a problem need help I would like the same output like the sample in the...

View Article

Null value of column

Good Morning, I am using a function found on the page https://datatables.net/forums/discussion/46296/calculating-cells-values, to calculate the total value of a numeric column. { data:...

View Article


Image may be NSFW.
Clik here to view.

How to style input box on edit/create modals

See attached

View Article

Unable to load editor on double click with tinymce field type

I was asked to allow editing a record by double clicking on it. While I got the double click working and the form is opening, I am unable to get the textarea field that is using the tinymce plug-in to...

View Article

confirm on close example not working with jqueryui

Test case without jqueryui: http://live.datatables.net/widoxiyu/1/edit Test case with jqueryui: http://live.datatables.net/fezipuji/1 I copied the code from...

View Article


Values Saved to Database Use Html Values for Special Characters

When using Bubble editing if I include a special character (ie, single-quote) in the input data it appears in the SQL Server database as the HTML value, in this case an ampersand hashtag 3 9...

View Article


difference in the number of columns between creation and edition

Hello, I have for example 10 columns to display and I display them all. Creation : I would like during the creation of a line to fill these 10 columns with Datatables Editor. BUT Editing : I wish I...

View Article

confirm PIN preRemove

Hi, My goal here is to confirm row delete with a user PIN number. I used formMessage to add password input in the delete confirmation modal I tried different approaches that have issues, approach 1:...

View Article

Callback after record is created that can be used to update another column

I'm using editor and node.js. Is there a callback after I create a record that can be used to update another column with a value created in the first step? More precise, if I create a record column...

View Article

search panels

I am having issues with the following code: CaseActionsEditor.on('submitSuccess', function () { CasesTable.ajax.reload(); CasesTable.searchPanes.rebuild(); }); CasesTable has some mjoins going on that...

View Article


Is there anyway to be able to bind to key events of inline edit input field

Description of problem: Using the Editor inline edit option. I want to be able to use my own function to control input into the inline edit input field. Specifically I'm trying to find a way to be able...

View Article

Input not valid

Hello, I encounter a strange phenomenon. When I do an Update by Datatable Editor inline so directly in the table it works well. But when I select the line to be modified and I click on Update (the...

View Article


upload field type is not working with Bootstrap 4

<div class="col-lg-12"> <table id="myTable" class="table table-striped table-bordered" cellspacing="0" width="100%"> <thead> <tr> <th>Id</th>...

View Article

preEdit and postEdit - same $values értékek

Hello, I use PHP AJAX method for server side. The preEdit and postEdit functions show the same values, both show the value AFTER editing. This code change the status from 4 to 6. It works well, the...

View Article


What is the best way to hide a field on a form when multiEditable: false.

What is the best way to hide a field on a form when multiEditable is set to false for the specific field? The field should not display at all if it is not editable.

View Article

VARCAHR id wont update table on create

Hi, I would like to confirm this behavior please. I have a simple table with PRIMARY key as VARCHAR. When creating a new record the table does not update automatically as expected. After a lot of...

View Article

Image may be NSFW.
Clik here to view.

Upload file

I have two problems with the upload, where I'm pretty at a loss now. It's a simple upload. Upload file, when all ok close window done. I use my own server file that does the filehandling. The file is...

View Article
Browsing all 3740 articles
Browse latest View live