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

Multiple Editor tables using the same editor template?

The new editor template option is great ... thanks Allan. I was wondering though ... is it possible to use multiple tables to edit within a single template? To be more precise ... I have like 5...

View Article


Image may be NSFW.
Clik here to view.

PreEdit or PostEdit not working to setValue

PreCreate is working ! ->on('preCreate', function($editor, $values) { if (($values['field1'] + $values['field2'] + $values['field3'] + $values['field4']) > 29) {...

View Article


Duplicate click without must to selected

If it can be done as follows: $('a.editor_create').on('click', function (e) { e.preventDefault(); editor.create({ title: 'CREATE NEW ROW', buttons: 'CREATE', onEsc: 'blur' }); });...

View Article

Maximum multi row edit?

If I select any number of rows and multi edit a column only the first 12 rows actually get updated with the edit. Is there a hard coded limit or am I doing something wrong? Thanks

View Article

Editor type 'hidden' fields

I need to render the inputs of the hidden fields and add display: none to it. I need them beacuse i have kind of a custom dependency on them . @Allan Can you help me on this

View Article


File Upload content stored in the same database table?

Are there some example(s) of File Upload storing the actual file content (in a MEDIUMBLOB) plus MIME type etc in the same database table? 1 I tried the following, but it did not work well: Field::inst(...

View Article

How to define index on preCreate event?

I'm trying to make some calculations once the user submits the form to the database. I'm using the preCreate event but I'm getting this error: <b>Notice</b>: Undefined index: notes_total in...

View Article

Button click to change value

I ask you and please you for help me for small source code for - button click to change value: example - this is working $('a.editor_create').on('click', function (e) { e.preventDefault();...

View Article


Animated highlight on update

In the Always Shown Checkbox example at https://editor.datatables.net/examples/api/checkbox.html, clicking a box gives nice visual feedback -- the row highlights briefly. My implementation works fine...

View Article


Styling Editor input field with bootstrap has-success, has-warning, has-error...

Is it possible to add a span behind the DTE input field and additional css classes depending on different values? So that the input looks like: <div class="DTE_Field_InputControl has-success...

View Article

Popup to deal with selection of entries from very large list

I need to include the option to select a few individuals from a very large list and I would preferably do that not with a select but with a popup contain a datatable that allows rapid searching for the...

View Article

Selenium/Editor: How to click on a cell for inline edit

Hi all, i am currently trying to set up some frontend tests with selenium and can't get selenium to open an editor inline edit. what i tried is: 1. Scriptexecuter with jQueryselector Click:...

View Article

How to switch editing on/off for rows programattically

I have a datatable on a page and, after I switch a checkbox on/off, I would like to make all rows not editable EXCEPT for the first row. I will then replicate the values on the first row to all the...

View Article


Serverside joined tables

We are using serverside processing to obtain data for table A, and we join data from table B to this. Normally, one can repeat the where conditions from the main Editor instance on the Join instance,...

View Article

Image may be NSFW.
Clik here to view.

Feature Request: Select Type - Additional Attributes

I've tried looking for a way to do this, but have come up short. What I'm looking for is a way to add additional data to my <select> -> <option> tags. Specifically the global data-*...

View Article


Multi-row editing

Hello, Is it possible to choose which fields will be displayed to editing in Multi-row editing modal? Like: buttons: [ { extend: 'edit', text: 'Edit', className: 'btn btn-primary', editor:...

View Article

Is possible a "Show" button in the Editor that show fields in read-only mode?

Hi, Is posible to configure editor to show a 4th button "Show" so when clicked shows all fields in a form-like interface but only to read all fields values? For example, I show 4 fields in the table,...

View Article


Problem with Select2 and inline editing - possible bug?

Hi, I've a problem with the Select2 plugin and inline editing. If I click the cell it shows the Select2 box with the search box focused as expected. However, if I click on the search box (or on any...

View Article

Set datetime cell to current time when a row is edited

Hi, I am looking for hints how to do the following. Thanks in advance. In this example link, I would like to have the Modify date automatically set to current date after the row is created or edited,...

View Article

Removing non JSON Characters from fields

Hi, I am using DataTables and DataTables Editor in a large project of mine and was curious if there was a way to remove the non json characters such as tabs, etc from the form fields before submitting...

View Article
Browsing all 3740 articles
Browse latest View live