Query where cause 2 field ID
Editor::inst($db, **tablename**) ->pkey('ID') ->fields( Field::inst('ID'), Field::inst('ORGANIZATION_ID'), Field::inst('BARCODE'), Field::inst('ITEM_NO'), Field::inst('DESCRIPTION'),...
View ArticleUnique Validator
I wanted to use the built-in "unique" validator for Editor but I didn't know how to use it conditionally: The field may have the values "0", "1" and "2". Only the "2" must be unique in the database....
View ArticleCannot edit row when the primary key is a string contains space
Hi, I have a table that contains 2 columns: +-------------+-----------+ | category | level | +-------------+-----------+ | Cat | 1 | | Cat A | 2 | | Cat B | 1 | | .... | ... |...
View ArticleInline editor sometimes not working
I have working code that only fully works when I do a hard refresh on the page. In this case, the inline "td" editor input receives focus, the cursor appears inside the input, the user can edit the...
View Articlecannot read property 'length'
I have looked at other posts on the forum but I don't see the resolution to my issue. var ToGenerateTable = $('#ToGenerate').DataTable({ dom: 'frtip', ajax: 'api/ToGenerate', dataSrc: 'Table', idSrc:...
View ArticlePrint button orientation = landscape
Hi, always portrait print? landascape not working in print button? buttons: [ { extend: 'print', text: '<img src="images/printer24x24.png" alt="">', titleAttr: 'Imprimir', columns:...
View ArticleChanging bottom button color
I have two rows of buttons, I was able to change the className for the top row but the bottom initialization shows up with only the font color changed even though I used the same className as in the...
View ArticleDatatables not work
hi I have started to try my first datatable plugin, but it is not working. I have included the datatable js and css files in master.php like this <head> <link rel="stylesheet" type="text/css"...
View Articledynamic columns
I found other posts that deal with grammatically creating columns. My data seems exactly the same but I am getting an error. So I am guessing it is because my json is formatted differently. Here is the...
View ArticleR user
hi dear I am R user , I need how to convert code in DataTables to DT package in R thx for your valuable help
View ArticleCustomizing the page numbers to show in pagination using jquery datatables
Hi, I am using jquery datatable and I am getting the total no of records. I just can't figure out how to set the value for page numbers. note: I am using custom pagination. Only thing I want to modify...
View ArticleModal to display 2 rows
Hello, I have been using DataTables for a while now and is fantastic but have a query which I am unable to resolve. My data is in pairs (odd + even) in a repeating pattern. Using a responsive table,...
View ArticleAutomatic selection of an added row
I am a satisfied Editor user in serverside mode and bootstrap4 with pagination. I use tabs for parent / child editing and pagination (see image). I would like a new row added in "Anagrafica" to be...
View ArticleInvalid JSON Data with Newtonsoft JSON Serializer
Hi, I'm making a web app using ASP.NET Core and Entity Framework Core. And I have a table called Items. I pass the list of items to DataTables using Newtonsoft JSON Serializer. I don't know why I got...
View Articledatatable load issue
I have found one issue, 8 times sorting and page change good working but 9th time its operation not call which is video share with you...
View ArticleAdding data attributes depending on ajax data
Hello. I want to pass a data to my Datatable with structure like this [{mainValue: 1, additionalValue: 'one'}, {mainValue: 2, additionalValue: 'two'}... and so on] and then in resulting table get a...
View ArticleFixedHeaders (v3.1.6): Any reference to original table?
I have some custom header-level elements that have behavior that I would like to maintain on the fixed header. Does anyone know if the created fixed position table has any reference to the dataTable it...
View ArticleEditor autocomplete return values
Good afternoon (o; As my project already uses autocomplete from jqueryui I give it a go as well with the editor.. But I am stuck what to exactly return from the ajax call. Got this framework I've found...
View Articlei used the destroy function to reload the table and data but the table is not...
function get_all() { $('#tbl-category').dataTable().fnDestroy(); $.ajax({ url : "../php/all_category.php", type : "GET", dataType : "JSON", success:function (data) { $('#tbl-category').dataTable({...
View Article