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

2 Checkboxes in Custom Field behaves not correct

Hello, 1) at https://customer.vogeler-ag.de/vag/test/test3.html is a demonstration 2) you can mark the 1st record "Name1" and goto "Ändern". In editor-form you see the fields Name and Mitglieder 3)...

View Article


editor.edit with a known record ID

Hello, I'm finding a way to programmatically edit a record with a specific ID (or primary key) Something like this: editor.edit( MyRecordID, { title: 'Editing the record' }); How to achieve that?

View Article


cancel and redirect page on editor.on('preSubmit'

If user tries to submit a modification and session timeout has happened, I need to cancel submit but at the same time redirect him to the login page. So to cancel submit I understand that the event has...

View Article

Retrieve the table titles in order to display them as labels

Hello, Is it possible to automatically retrieve the table titles in order to display them as labels in the creation and edition form, as well as in the bubbles? <table> <thead> <tr>...

View Article

How to modify or exclude a filter in a select in edit mode

I have a filter in php that I would like to exclude in edit mode: Field::inst( 'assegnazioni.ass_idban' ) ->options( Options::inst() ->table( 'bandi' ) ->value( 'ban_id' ) ->label(...

View Article


Problems importing with other languages

Hi, I'm using the extensions/import.html example from the Datatable Editor. Everything works fine, both in export and import, but I have found a problem. When importing data from a csv file with...

View Article

Speed up load times - Count queries bottleneck?

Hi, I have a database with around 30000 rows, some left and mjoins. Im trying to speed up the load times. When using developer tools in the browser I've measured the serverside script (Editor lib) to...

View Article

Image may be NSFW.
Clik here to view.

Editor not loading

I had this working for a long time. Suddenly stopped working for one page I'm using the editor for. Works for other pages. Really odd. Any ideas? I need this up pretty quickly..

View Article


File upload problem

Hello, I have a form for teacher activities which contain upload file. The form work fine , but sometimes the file uploaded and display in the form and after click sumit the file and its info in the db...

View Article


Image may be NSFW.
Clik here to view.

How to use file upload but not write anything to the database

I'm trying to use the bubble editor in our site and utilize the feature of having multiple items for editing in the bubble. In this case, I want to have 4 upload options in which only 2 of the files...

View Article

Image may be NSFW.
Clik here to view.

Responsive table - always collapsed

Hi, I would like my table to always be collapsed, the way it would be in the responsive inline example. https://editor.datatables.net/examples/inline-editing/responsive.html Is there a way to set the...

View Article

Possible bug in Editor 2.0.7 when uploading a file after having updated...

Link to test case: The Editor has uploading and is private. Debugger code (debug.datatables.net): I couldn't get the bookmarklet to upload the data (is this because the page has so many DataTables...

View Article

mjoin in mvc app getting 'Object reference not set to an instance of an...

I have loaded the demo of datatables demo into my app and it works but using my fields in the mjoin it fails. stackTrace shows at DataTables.MJoin.Data(Editor editor, DtResponse response) at...

View Article


Image may be NSFW.
Clik here to view.

Dependent fields in use with type:"datatable"

Hello, i want to use the function "dependent()" on a field with the option "type: datatable". Contacts should be updated after selecting a company. if i select a company the contacts that belongs to...

View Article

Uncaught Error adding field - unknown field type datatable

Hi, I'd like to use datatables as a single select, but I got an error: Uncaught Error adding field - unknown field type datatable jquery-3.6.0.js:4059:3 jQuery 23 readyException (Aszinkron: setTimeout...

View Article


Sum of selected rows at footer

Hi, Using the Editor API, I'm doing sum of a column say Total_Allocation but for selected rows of the table only. Without selected rows, I used following code and which works perfectly ::...

View Article

Image may be NSFW.
Clik here to view.

Locating sporadic issues with Editor

Sometimes I have errors using Editor that are impossbile to locate for me. One difficulty is that they only happen sporadically and not all the time. This error message from the console for example...

View Article


How can I put data from a column in a selected row (using checkbox) into a...

For example, I have a list of responses or portions of responses in a dataTable (preferably in a modal) and as the user clicks on the row, a textarea is populated with data from one of the columns in...

View Article

Image may be NSFW.
Clik here to view.

Set field default on new record with JavaScript variable. This example returns

How can I set the default field value using a JavaScript variable on a new records. fields: [ { label: "Location Code:", name: "NWFF.MTSYS.MSLOC", type:'readonly', attr:{ disabled:true }, default:...

View Article

Image may be NSFW.
Clik here to view.

How to have row ID show in post when uploading files

I'm trying to use the upload function in Editor and I have it to the point where it is processing the request however in checking the POST request, it is not sending the row id. How can I get it to...

View Article
Browsing all 3740 articles
Browse latest View live