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

How to handle a select list in editor?

Here's my dilemma. I have a datatable that lists users. When you click on the EDIT button, an editor window opens. In the MySQL user table, there is a field called addresses which is a comma-delimited...

View Article


Hide column in main table for Editor

Is it possible to hide a column in the datatable used for the editor? I have tried using in the .JS file: "columnDefs": [ { "targets": [ 0 ], "visible": false, "searchable": false } ], But it doesn't...

View Article


restrict inline editing to specific fields

I have implemented inline editor using the example here https://editor.datatables.net/examples/inline-editing/simple.html Is it possible to restrict inline editing to a specific field, but maintain...

View Article

Dynamic Select with 'Only Choose Once' options

Alright, sorry about the cryptic title but it was the only thing I could think of to describe what I'm trying to accomplish here. Here's the setup: Latest DataTables and Editor versions I have a...

View Article

ID missing on second edit

DataTables-1.10.5 Editor-1.4.0 I'm using inline editing features of DataTables Editor to queue changes that I want updated to the DB. On the first edit, the object being passed looks like this: ON...

View Article


Dynamically Set iFrame Height Used Within Child Row

I am using an iFrame within the child row function in order to display some content. The content is different for each row within the table and therefore the iFrame height should be different to match...

View Article

DataTable to Editor and reverse

Hi, I'm trying to change an instance of dataTable on Editor when user click a button. And the reverse too. At this time I transform my dataTable on Editor correctly. For the other way I just remove the...

View Article

FreeTDS: Connection to SQL server from Linux Server

Hi Allan and community. I have a editable table and I need to connect a database in SQL SERVER. im trying to fix mi issue: https://datatables.net/forums/discussion/27530/how-to-use-dblib Now, i'm...

View Article


Editor format question on "create a new entry"

When I create a new entry by default on the "create a new entry" form all fields and labels are in one column. Can someone show me or point how to create more than one column in a given row? Thanks

View Article


Best way to remove certain values from a cloned record

Was able to add a button to clone a record using the datatables example https://editor.datatables.net/examples/api/duplicateButton.html In my application I would like to change certain values to null...

View Article

Datatables gets stuck on file selection in Editor

Hi, I'm trying to create a custom server script for the uploader in Editor. What happens is that once I select a file, nothing happens. The Save/Upload button stops working and there is no response. In...

View Article

Datatables editor in a div

Hello, Before all, sorry for my english. I created a DataTable, which would be implemented through a menu with bootstrap and jQuery, which shows the DataTable in a div, keeping the fixed menu that...

View Article

Inline edit of same row twice - ID not being sent on the second request

I have a standard data table with an inline Editor: editor = new $.fn.dataTable.Editor( { ajax: /path/to/my/controller table: #myTable idSrc: "id", fields: [ { name: "weekNumber" }, { name:...

View Article


Two data fields to make one column

In Editor, is it possible to have two database fields from a join combine to display in one column? Example: a join on a user table that has a firstname and lastname put together in one column as...

View Article

Last problem to tackle with the Editor tables and updates

Here is my issue. I have an Editor datatable that lists users. Users login and place orders. In most cases, the user will order ONLY with their own address as the destination. The user is part of a...

View Article


Delete a row from a related table on $_POST['action'] === 'remove'

What I would like to do is delete an orphan record in a joined table if it exists. The $_POST['action'] === 'remove' only passes back the id (PK) of the main table to the server, which is not...

View Article

How to use inline editor without server-process

I used datatables editor, while i use inlie edit feature, I don't want the data submitted to server, instead,I just want to avoid ajax call, what i want is that i edit the table with inline editor,...

View Article


In editor event callback function, how to get the current editing colomns

When I use editor event callback function, if i want to get the current column and row index that is current edited, how can i get that? thanks.Below is the code. detailEditor.on('setData', function(e,...

View Article

Help with isset($_POST['action']) && $_POST['action'] === 'edit'

I have an editor instance where I want to update another table on edit. All was working ok, until I added validation to some of my editor fields. If everything validates ok, no problem, but the...

View Article

Inline Editing Randomly Stops Working

So this is pretty much the last issue I'm trying to work out with our system. For some reason, after making multiple edits using the inline functionality of the Editor along with submitOnBlur the...

View Article
Browsing all 3740 articles
Browse latest View live