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

precisions about dependent() 2 questions.

Hello everybody. First: Anybody could explain me the difference betwwen 1) editor.dependent('individual.id', console.log('tata'), {event: 'change'}); and 2) editor.dependent('individual.id',...

View Article


Editor 'cols' attribute for textarea not being recognized

When I use bubble editor on a textarea field, the size of the textarea is much too small for editing. The rows attr is being applied, as well as the cols, but the size of the lightbox isn't changing....

View Article


Image may be NSFW.
Clik here to view.

Editor doesn't scroll

Hello, the editor modal window is longer than the available page height therefore the top is hidden and it doesn't scroll. The content inside the window does scroll and the page behind it scrolls too....

View Article

Inline edit, presubmit .error validation issue

I'm using datatable editor with inline editing. When I make an edit on a row I use "allIfChanged" to submit my entire row and update a record on my server. Before submit I do some client side field...

View Article

Image may be NSFW.
Clik here to view.

Editor+select2+ajax set default value to select2 when datatable row selected

Steps: Data-table with editor has multiple select2 in form. ->select2 is binded data with ajax. ->when datatables->create is called new form with select2 works fine , shows autocomplete...

View Article


select2 createTag issue with editor

Trying to get select2 createTag to work per https://select2.org/tagging. I get error at dataTables.editor.js line 5275 because canReturnSubmit not defined for the field. found...

View Article

Datepicker All Options Available

I would like to set Datepicker options for a date field, are all the jQueryUI Datepicker options available? I am loading the jQueryUI Datepicker, so I assume that is the datepicker the Editor is using....

View Article

continuation to select2 edit default value:

continuation to https://datatables.net/forums/discussion/52203/editor-select2-ajax-set-default-value 'set' have to be in "opts"? can i see any example ,below code didnt helped.. { "label":...

View Article


Date field modify data

I have a date field that I want to accept different input styles for. Where would I intercept the value before it gets sent to the server for inserting into the database? I am looking at the Editor...

View Article


Date and Time Picker Program

I have a field that I need to enter both date and time for. Right now I specify a "date" field type so the jQuery UI datepicker is used, but I would like to use datetimepicker (which is an add-on to...

View Article

select2 as first field does not show focus

reference http://live.datatables.net/danosiyo/1/edit I have a similar form in my application, with select2 as first field and date as 2nd field. I would like the first field to be focused, but don't...

View Article

Updating other fields in Database - based on select

Hi Everyone I've just used the bar bones of the editor to update tables I need to edit and its working great (using in-line editing). However, I'm not sure how to move forward on this. I have a screen...

View Article

Image may be NSFW.
Clik here to view.

uncaught exception: Unable to automatically determine field from source.

Hopefully this will be a quick fix... hopefully Full error I'm getting: "uncaught exception: Unable to automatically determine field from source. Please specify the field name" I have a datatable with...

View Article


Editor, inline editing, and AutoFill

Are there any caveats for using Editor with both simple inline editing and AutoFill? We have users who would like both inline editing and Autofill capabilities and I wanted to make sure there were no...

View Article

How to set title for editor pop-up window

Hi! I have the following code: // Create editor tanksEditor = new $.fn.dataTable.Editor({ table: "#tanks" }); tanksEditor.add([{ type: "select", label: "Fuel grade", name: "fuelGradeId", options:...

View Article


Pattern to launch form from other form?

I have a backend database with a clients table and an events table. From the events table view, there will be an create/edit event form with select field to select an existing client. But if a new...

View Article

how to set editor-field required attribute and html5 support(types such as...

some one give me examples, appreciate!

View Article


How to control editor window width with jqueryui / editor template

Hi Allan, I am using jqueryui, and have a complex form I want to use an editor template with. Following the instructions at https://editor.datatables.net/manual/templates I created a template, but...

View Article

Node.js datatables editor - Complex left join not working in node.js

I'm using the node.js datatable editor library. When trying to do a complex left join 'portfolios_isin_mm.isin AND (securities.mic = portfolios_isin_mm.mic)' ... like this: let editor = new Editor( db,...

View Article

Node.js datatables editor - Filter select option depending on a certain value

I'm using the node.js datatable editor library. When trying to filter the select options depending on a specific user_id ... I'm getting TypeError: this.where is not a function I already posted the...

View Article
Browsing all 3740 articles
Browse latest View live