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

How can I display more than one field of a lookup table (in addition to the...

I have a datatable where I’m using the editor with templates because I have a somewhat complicated form. I’m even using tabs with the editor so it's already pretty customized. My basic database table...

View Article


Image may be NSFW.
Clik here to view.

render select field options with icon

https://editor.datatables.net/reference/field/select I would like to render the label of the built-in select fields to include an icon but it doesn't work. While I can change button labels to be an fa...

View Article


not able to upload file when using DB_CONTENT

I would like to upload the file contents using DB_CONTENT directly into my SQL Server database. However I am confused about the datatype required by that field, is it binary (varbinary) or string...

View Article

Image may be NSFW.
Clik here to view.

I have this error getting data from editor edit in mvc c # controller

Método no encontrado: 'System.String[] System.String.Split(Char, System.StringSplitOptions)' [HttpPost] public ActionResult ClientesNuevos() { var settings = Properties.Settings.Default; using (var db...

View Article

Validate Unique for Subset

Hi Everyone Hope someone can help. I'm using Editor to display a list of "Staff Roles" for a specific subscriber, which works great: Editor::inst( $db, 'tblStaffRoles' ) ->fields( Field::inst(...

View Article


Automatically match the drop-down selection items based on input Chinese in...

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: How do I automatically match the drop-down selection items based on input Chinese in the new...

View Article

dt.on function Expected 2 arguments, but got 3

Debugger code (debug.datatables.net): import type { Api } from 'datatables.net' let dt: Api<any> onMounted(() => { // Get a DataTables API reference if (dataTable.value) { dt =...

View Article

type annotation of editor.inline

Debugger code (debug.datatables.net): dt.on('click', 'tbody td:not(:first-child)', function () { editor.inline(this, { onBlur: 'submit' // 'submit', 'cancel', 'close' // submit: 'allIfChanged' //...

View Article


server side count speed so slow. with left join

Link to test case: Debugger code (debug.datatables.net): [ "Editor PHP libraries - version 2.1.2", { "query": "SELECT COUNT( `info_betting`.`ib_idx` ) as `cnt` FROM `info_betting` LEFT JOIN `users` ON...

View Article


Issue with Mjoin

Hi, Actually, I use the join because I want to have in my datatable all columns of the user table and an additionally column role (which show all the role gave to each user). The objective is to manage...

View Article

Dynamic checkbox list in modal editor

I am dynamically creating a list of checkbox items that correspond to roles in ASP.NET Core. Everything seems to be working when displaying the statuses in the checkboxes, but after updating the roles...

View Article

Customised select

Hello, I would like to customize a "select" field appearance : I would like to show the option values in several columns as I have more than 30 values. Is there a way to do that ? I was thinking about...

View Article

File Upload return an error

I would like to upload a file using the editor. The file is also uploaded and is on the server, but the client always gives me the error message: "A server error occurred while uploading the file" I...

View Article


How do you pass a field variable along with the $id to a script?

In our (laravel) controller file we have this field: Field::inst('articles.demo_profile'), I'm trying to figure out how to pass it to a script. // ->on( 'postEdit', function ( $editor, $id,...

View Article

How to add custom field type plugin with dynamic text fields

Here is the relevant comment from 6 years ago: https://datatables.net/forums/discussion/comment/105430/#Comment_105430 I'm wondering if anyone has done this yet? I have a use case where I need to show...

View Article


Problem with editor

Link to test case: Debugger code (debug.datatables.net): igujey Error messages shown: dataTables.editor.js:3384 Uncaught TypeError: Cannot read properties of undefined (reading 'replace') at...

View Article

option list in select type field

Hello, just wanted to make sure that option list in select type field does not render html, but treat everything within option as plain text, right? Thanks

View Article


Getting TypeError: Cannot read property 'toString' of null

Hi Guys , i am using inline editor option , based on the provided example @ examples/inline-editing/fullRowCreate.html i am not able to submit my data post the row edit , submitting new record works...

View Article

Change fields.submit value on dependent call?

I couldn't quite find this discussed before, but is it possible to set the field submit option (here) within a dependent call? Essentially I know I can show and hide or disable the fields dynamically,...

View Article

DataTables Editor temporary holding file error

Hi I have licence to Editor and run (.npmrc file is created) npm install --save @datatables.net/editor-dt I get downloaded Editor Then I use importmap in Ruby On Rails, this load editor from...

View Article
Browsing all 3740 articles
Browse latest View live