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

Image may be NSFW.
Clik here to view.

Editor is not defined && define is not defined.

Hi y'all, I've got this error with Editor.. Uncaught ReferenceError: editor is not defined ... I get it with the code below, but it works fine except that search and paging isn't working. It loads the...

View Article


Detect if table in edit mode

Hi, Background: i'm trying to send push notification(with signalr) from to server to the frontend when something has been updated in the data. However i want to detect if the user is editing something...

View Article


click event problem

I a editor form i have a link (or button), if the link are clicked the editor form should be closed and another editor form should be open. But the browser did not recognizes the click on the Link or...

View Article

Editor: Universally disable editing based on condition

How might I prevent editing if a certain value (locked) is set to true? I have 5 DataTable instances, and 5 associated Editor instances. The 1st table/editor set has a field called "Locked". If this is...

View Article

Image may be NSFW.
Clik here to view.

Editor: Disable buttons & how to target it

I'm trying to disable a button in Editor. Basically, I want this form to be like a property sheet for view-only purposes... I tried this: dteEffectiveDates.buttons().disable;, this seems to work, but I...

View Article


Editor node.js - File upload example error - 'FileName' of undefined

Editor node.js - File upload example error - 'FileName' of undefined. I'm testing the file upload function but getting an error: TypeError: Cannot read property 'FileName' of undefined I tried the...

View Article

total rows updated by sql query

Considering standalone editor with keyless data. If I want to use something like $db ->query( 'update' ) ->table( 'table_name' ) ->set( 'test', $_POST['data']['keyless']['test'] ) ->where(...

View Article

Editor node.js file upload example error - A server error occurred while...

Editor node.js file upload example error - A server error occurred while uploading the file I'm not getting the basic file upload example to run: https://editor.datatables.net/manual/nodejs/upload In...

View Article


How to change formOptions after initialize

I want to change the editor formOptions main.onBackground to none or blur depending on logic after initializing. Is this supposed?

View Article


Edit in View Only mode

Is there an easy way to open an Editor in "view only" mode? (Kind of like a property sheet) Additionally, is there a way to get this button function into formOptions? What I mean is, is there a way to...

View Article

Editor Join within

i try to admit sport-matches with editor. therefore i have 3 tables in the database. to keep it simple, i only describe the one we need within this example. Or you see the live demo...

View Article

Editor node.js file upload clear error - Can't clear an image

Editor node.js file upload clear error - Can't clear an image Uploading a file is now working:...

View Article

Client side editing issue

I am currently using datatables editor to join together several related MySQL tables and display them in one interface. Each table has a key which are used to tie together the tables via joins....

View Article


Custom field plugin, struggling with initializing a field that needs to first...

This might not be 100% a DataTables issue, but im hoping the DT API has something here that can help me. I am trying to wrap this into a DTE Field Plugin:...

View Article

Cannot read property 'nTable' of undefined

Hello, I have this: javascript var editor if ($.fn.DataTable.isDataTable( '#tablaMateriales' ) ) { $('#tablaMateriales').dataTable().fnDestroy(); } $('#tablaMateriales tfoot th').each( function () {...

View Article


[PHP Lib]When ordering by field only return results that have a value in field

Hello, I've been trying to figure out how best to implement this. I'd like to add a new field A. A will contain a numeric value. When sorting by A I would like to avoid record that have no value in A...

View Article

How to handle a JSON object with bubble, inline or standard edit

I'm using an ajax data source for my data, and as a straight up datatable it's working well. There are 4 (or more) columns, the first 3 being simple name, description and idsrc (tells me which...

View Article


Editor: Problem with leftJoin

i try to admit sport-matches with editor. therefore i have 3 tables in the database. to keep it simple, i only describe the one we need within this example. Or you see the live demo...

View Article

Editor - New, Update, Remove - Oracle Stored Procedures

I'm working on an application C# MVC application that uses oracle stored procedures for all database interfaces. It does not use the entity framework and we can't interface with tables directly. Is...

View Article

row().add & column render()

Hello, I have a column that is rendered thus: { data: "size", render: function (d, t, row) { return row.width + 'x' + row.height; } }, When I add a row with row.add(), how should I set the value for...

View Article
Browsing all 3740 articles
Browse latest View live