Quantcast
Channel: DataTables 1.10 — DataTables forums
Browsing all 2364 articles
Browse latest View live

Changes through "new" or "edit" mode not updated in datatable

When I create a new entry or update an existing entry then I am able to send and receive the data in the backend. However the changes are not reflected in the table (only after reloading all data from...

View Article


Providing default value for a field through HTML?

We pass all options through data- attributes. How can you set a "default" value for a field in "New" mode?

View Article


Possible to replace underlying data of datatable instead of using 'destroy'?

Hi Allan. I have a user list (non-datatable) on the left rail of my web app. When someone selects a user, that users' information is populated on the right. In one user section I have a DataTable of a...

View Article

Shrinking table to minimal width (autoWidth: true not working)

I am generating a DT from existing HTML markup. All columns have the same width although autoWidth: true is set. The DataTable() constructor does not contain any column specific width specs for the...

View Article

Invoke editor for a row upon double click

How can you invoke the editor by double clicking on a particular row ?

View Article


$db->sql() Returning requested unknown parameter error.

I am attempting to use $db->sql(), but I am getting a requested unknown parameter error(code below): server side: $data = $db->sql("SELECT family, ctrl_id, rmf_name,assessment_procedure_number,...

View Article

Modifying an editor based on user context and editor mode

We define an editor and its fields with the full functionality by default. In our context a logged in user has a particular role and should be able to see or use a subset of the form based on its role...

View Article

Problem initializing pageLength with user preference

I am using Datatables / Editor for almost a year, and am getting fairly comfortable with it, but I still run into issues on occasion. In this case, I'm trying to initialize the pageLength of a table...

View Article


Editor number field validation based on existing value/accessing current...

I have a field which contains a float. The user should be able to update the number within the range of 0 to the current (most recent value). How would you access the most current value of the field...

View Article


Search on input field and text

Hello, I have a table with input text fields and text data. When I search for a value the text fields content seems to be ignored. I tried to write a custom filter with the following code :...

View Article

how to get column name from the table to use for href link

I am using the following code to make a link for a new page:- columnDefs: [ { targets: [2], render: function ( data, type, row, meta ) { if(type === 'display'){ data = '<a target="_blank"...

View Article

Something Change in 1.16?

I am using the select boxes with DataTables. I just noticed that using files from DataTables-1.10.16, the shift and ctrl buttons need to be used in order to select multiple rows, whereas in...

View Article

Copy, excel, and print buttons export all records rather than only the ones...

In my scenario, I have some dropdowns that dynamically filter the visible records on the screen. That much is correct. For example: g.change(function() { filterTable(); }); which triggers the following...

View Article


Image may be NSFW.
Clik here to view.

Inline edit not changing values immediately on losing focus.

Hello, I have an inline editor that changes the datasource (Localstorage) but does not change immediately. Only when I reload the page does the change reflect. My gut feeling is that I should be puting...

View Article

Column search by conditional integer range

Here is a simple question about the table.column(x).search(y) function. How do you filter by a range of integers? For example: // if age.val() == "Yes" then search 18 or above. // if age.val() == "No"...

View Article


populate select element with data dependent on selected row

Hello all, I'm trying to populate a select element in editor with contacts but I only want to see the contacts belonging to the company(dealer) I select and edit instead of all of them. So I have to...

View Article

isShown function behaves differently for mobile

I am using the function https://datatables.net/reference/api/row().child.isShown() and it's working fine for tablet and desktop version. However, for mobile it's behaving very differently. Not sure...

View Article


How to retain values in Individual Column Searching (Text Inputs) fields...

Hi, As mentioned this thread, https://datatables.net//forums/discussion/35771, with statesave set to true, How to retain values in Individual Column Searching (Text Inputs) fields while refreshing the...

View Article

default value for resetPaging

Is there a way to default resetPaging to true? I had called reload() from many places by now, and need to change the behavior of reload to keep the current paging. I could not find nothing on...

View Article

Adding data-* to

Hi Anyone have an example of how to add data-* Attributes to <td> elements? Thanks Nige

View Article
Browsing all 2364 articles
Browse latest View live