select two labels
i want a second label called 'nachname' how can i get this? Field::inst ( 'id_person' ) ->options( Options::inst() ->table( 'personen' ) ->value( 'id_person' ) ->label( 'vorname' )
View ArticleEditor: Universally disable editing based on condition
How might I prevent editing if a certain value (locked) is set to true? I have 5 DataTable instances, and 5 associated Editor instances. The 1st table/editor set has a field called "Locked". If this is...
View ArticleHow to add animated effect for auto datatable switching.
Hi all, I have created a data table with the function of auto switching the table pages. but I can't figure out how to add animated effect to the table every time it switches the page. I attached my...
View ArticleSUM in Server script
Hello, I would like to know how to do SUM on a joined table ? example: Editor::inst( $db, 'A') ->fields( Field::inst( 'id' )->set( false ), Field::inst( 'dated' ), Field::inst( 'km' ),...
View ArticleCan you use THIS to reference an Editor's instance name?
A lot of the times, when I'm inside of an Editor instance, I need to get or set content within that instance. Is there a way to get the name of the instance you are in? AND/OR, is there a way to...
View ArticleEditor: Disable buttons & how to target it
I'm trying to disable a button in Editor. Basically, I want this form to be like a property sheet for view-only purposes... I tried this: dteEffectiveDates.buttons().disable;, this seems to work, but I...
View ArticleCan't customize render of column to display a link
I don't know what i'm doing wrong, but using the render function on columnsDefs or columns options is not working. I need to change the column "amount_b_f" to render a link. Datasource is a array of...
View ArticleEvent for the "X" in the input of the search box
I use datatable, server side page. I use a custom toolbar, added a checkbox. If user type a value in the input, search is done, if it's remove value search is done. But there is no search who are done...
View ArticleLoss of Focus Causes Scrolling Issues
Test Case: https://datatables.net/extensions/fixedcolumns/examples/initialisation/simple.html Browser: Mac FireFox and Chrome (possible others not tested) To reproduce: Go to test page and hover over...
View ArticleAdding a field (checkbox) to the remove form
Hi I'm trying to add a checkbox to the remove editor form but I can't see howt thats done. I tried this for ex., but the field isn't showing: var editor2 = new $.fn.dataTable.Editor({...}).add( { type:...
View ArticleExport to Excel - external button
Good Day! I was wondering if it is possible to export a data table table to Excel without adding a button to the table? I have a requirement that an export button be positioned somewhere else on the...
View ArticleSave state with saving index column values
I have the following code: $(document).ready(function () { // My DataTables table let table = $('#myTable').DataTable({ // ... 'stateSave': true, 'stateDuration': 0, // ... }); // Populating an index...
View ArticleIntegrity constraint violation: 1062 Duplicate entry '0'
This happens when I am trying to edit entries using the editor with the 'id' field is shown. When the 'id' field is hidden, I can edit the entry normally without problem. Upon submitting, somehow the...
View Articlemodal is not a function at Object.open
Hi Allan and DT team! first, we're proud of using (and purchasing) Datatables, big fans of your product ! So, we've joined successfully 3 tables, we have in our project: - nodes table referencing...
View Articleangular 7 datatables with observable data from server with pagination (not ajax)
Hello, I using Angular 7 and data-tables. I want to use data-table with server-side and paging but use observable data that come from a service For example: the ajax call is used like that: ngOnInit():...
View ArticleNew RowsGroup plugin: merge cells vertically (rowspan)
Hi, all! I've created the new Plugin as a replacement for old fnFakeRowspan (http://datatables.net/plug-ins/api/fnFakeRowspan) plugin. It works both for standalone and server-side processing. Now it...
View Article