Upload - icons insteed of images
Hello Allan and everyoneelse, I tried to upload PDF files with the upload many examples (https://editor.datatables.net/examples/advanced/upload-many.html) and insteed of showing the images (<img...
View ArticleHow to change the Edit event URL?
I have an application where I can change the context (the Year) of the data. So my URLs will change based on this selection (eg, /properties?year=2018). I know how to update DataTables object, but how...
View ArticleWhat result AJAX edit expectes?
Hello, I have set AJAX function inside the editor options like this ajax: { edit: { type: 'POST', url: functionsPath, data: function(d) { var newdata; $.each(d.data, function (key, value) { newdata =...
View ArticleConditional write of a field to database
I have a table with user details. One of these are a password in md5 hash. When updating a user I need to only encrypt and write the password when a new password has been entered in the form. I can use...
View Articleeditor arrays Id to name in other table
Hello i try to search how i do it, but i didn't find i am using select2 multiple so it insert to the db like this 1|2 and i want to select it and to take this id and check them in other table there...
View ArticleDatatables Editor File upload with Spring Boot
Hi, I am trying to support file upload using "Datatables Editor" file upload support to Spring Boot Application. Following is my Editor config, var editor = new $.fn.dataTable.Editor( { ajax:...
View ArticleIs it possile that the length of an textarea ist difference between editor...
Hello, i have the problem that i have an textarea. In the formular in the editor i need the full message (1500 characters). In the table i want only show 30 characters and if it possible show an text...
View ArticleServer side render
Is there a method to render on the server side which excludes the data from being sent to the 'Edit' and 'Create' modes? I.e. I want to replace a boolean 1 or 0 choice in my database with a graphical...
View ArticleOpen dialog
Hello, I'm trying to implement a dialog window (https://jqueryui.com/dialog/) which should shows PDF files in the dialog window. In my example (-> http://wechselstube.host4free.de/editor/) it works...
View ArticleAdd datepicker years
Is there way to increase shown years in default datepicker select box. I can only select years 10 years backwards and forwards. In my case I am using it for selected birthyear. Couldn't find any tips...
View ArticleChanging field type and data source in editor
I have a modal editor window with a select element, the options in the select are populated based on the logged in user's permissions. When the modal fires on create I want to display a select and when...
View ArticleDataTable Editor - Getting error when putting select checkbox in first column
I'm getting an error when I put the checkbox in the first column like: js: var table = $('#mytable').DataTable( { dom: "rt", ajax: { url: "/source.php", type: "POST", data: function (d) { } }, destroy:...
View ArticleWhy does tbody have one extra (blank) column on the left?
I have a simple scenario that is baffling me. For some strange reason, my tbody has one extra blank column to the left. I can't find any documentation explaining why this is happening. If I add a blank...
View ArticleUse editor server code but read-only
Hello. I'm using the .NET WebApi Editor back end code just to populate the DataTable for reading. It seems to work well. If I want users of this page to only be able to read, is there any precaution I...
View ArticleWhat does "invalid object name" mean? Is there documentation on that error?
I'm working on a new Editor page in .NET MVC when this error pops up. When I go into the Network > XHR panel I see this. error: "Invalid object name 'CohortLatestEnrollmentRecord'." The one forum...
View ArticleMerging repeading structure of inline buttons getting info from multiple tables
In a specific table 'mytableA' I have two different inline buttons ('select_x' and 'select_y') for each row. To get the row information and run a different event depending on the inline button selected...
View Articledatatables editor how to close modal programmatically
Any one knows a way to close editor modal, using JS. I'm using bootstrap and using data-dismiss="modal" or "$('.modal').modal('hide');" does not work. It closes it ok but it will never open again....
View ArticleUse an idSrc for each field, or several IdScr in the same datatables
Hi, I have to display and edit fields of several Entities in the same datatables. Display works :-) Is it possible to define a different idSrc for each field or for a group of fields? What's the best...
View ArticleDataTable Editor server side script error
I have a simple SSP script that is throw this error. "Primary key element is not available in data set." Any thoughts? <?php // DataTables PHP library require(...
View ArticleStandalone editor not showing up, No JS errors
Hello, I dont seem to get the standalone editor working.. Basically, I have an editor instance and have a button on the form, when user clicks that button a new standalone editor instance should be...
View Article