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

update field in (left) joined table ?

I have a page with 2 tables, company & member details with a left join is it possible to update data in the joined (members) table, as anything i try to change is ignored...

View Article


Unable to perform single row selection with Editor

I have consulted the example used in the DataTables official examples site at (https://datatables.net/examples/api/select_single_row.html) to see how to perform single row selection. However, I am...

View Article


Set a custom error message on server side

I have looked around on the forum, but I have not found a current example. How can I set the error property from the server side and have it display on the client side?

View Article

handling arrays of data in a single field

Hey there, I got a table cell 'items' which should contain several items. I like to let the user manipulate this set with the selectize plugin and write it back to the server. I don't really know how...

View Article

Editor: Uncaught TypeError: Cannot read property 'create' of undefined

I've just purchased the Editor and am trying to get a prototype working. I'm able to get the table to load using Ajax and JSON objects. The New/Edit/Delete buttons appear too once the table is loaded....

View Article


Postgresql Driver Failure

Hi, am working with Datatables editor and the php framework with mysql everything works perfect now i have a new project and have to use postgresql but if i want to do a insert i became a syntax error...

View Article

render the editor field using display as the field type

I want to display a currency value in my editor instance for information only, but would like to render it so it shows as it does in the datatable. eg, If the value is 2, it is rendered in the table to...

View Article

FYI on the SmartAdmin framework and compatibility with Editor

After much wasted time, I have some observations for users of the SmartAdmin framework. https://bootstraphunter.com/theme/smartadmin-responsive-webapp-frontend-BSH01 As of now (April, 2015), the latest...

View Article


Possible to access previous field values when editing

Hi, I'm using the DataTables Editor in server-side mode and have the requirement to perform a particular action when a specific field value has changed during an edit operation. When the specific field...

View Article


Controlling new row inserted Left joined table

Further to my Q in this post https://datatables.net/forums/discussion/27408/update-field-in-left-joined-table I have an editor instance using a left join, which (now) works great when i update the...

View Article

After create: can "row" be told to expect a JSON object?

https://editor.datatables.net/manual/server I'm looking at this and it makes sense on how I can send back some additional fields after sending the new record to the server, and getting fields back such...

View Article

Dynamically Create Checkbox Items From Database Textarea Content

I have a textarea in my database which contains a comma separated list of values. These vary depending on the table row. Is it possible to create my checkbox items dynamically in editor from this comma...

View Article

Join() One-to-many relationship

I have two tables: users with id (1,2) and view_users with user_id (1). When I use Join() the result that I get appears as a regular left join relationship and not as a join with one-to-many...

View Article


Implementing row-level security

Do you have a suggestion on how one might implement row-level security in DataTables and Editor? For example, assume a table of Notes. In the Ajax load I can provide a hidden attribute per row that...

View Article

date dd/mm/yyyy

Hi allan i need , as I can validate the date in dd / mm / yyyy, in the editor. have any method to accomplish this

View Article


Editor: on Delete, can I control what fields are send with the Ajax JSON...

I'm including several hidden fields in the table. One is a session ID and another is a last-updated timestamp. The latter is used for concurrency control. On Edit, both hidden fields are included in...

View Article

populating Editor data with an ajax call

Hi, I am having troubles finding a way to load (not submit) data coming from an ajax call into Editor. The scenario I have is that my DataTable is populated with only a fraction of the data that Editor...

View Article


How to hide a button

I have asked this question already and and received an answer. see here: http://datatables.net/forums/discussion/22187/how-to-hide-a-button#latest However I had not actually tried to implement this...

View Article

Datatables editor standalone mode with tinymce or ckeditor plugin-s lost focus

When i use Datatables editor in standalone mode (https://editor.datatables.net/examples/standalone/collection.html) with tinymce (https://editor.datatables.net/plug-ins/field-type/editor.tinymce) or...

View Article

Editor - Serverside PHP, Subquery or Count of joined Objects

Hi, unfortunately i did not find any solution for this in the forum. I have a simple editor -> php based query for getting data to the client. Now I want to return for each row the count value of...

View Article
Browsing all 3740 articles
Browse latest View live