Questions tagged as 'datatable'

1
answer

Problem with Ajax URL

Every time I try to call the method of my controller it appears a url different from the one I'm putting in the AJAX url, why this?     
asked by 14.02.2018 / 02:48
0
answers

How to add two columns using DataTables footerCallback

Good friends, I'm starting now and would like a help to add two columns individually using js. I have this script that is working to add the n column. 4 This is my html (or link ) <table class="table table-bordered table-hover"...
asked by 25.01.2018 / 19:58
0
answers

Datagridview does not store information in the table

I have a datagridview that is fed by a search in a database to hold a sale but I can only sell one product at a time because the sales chart can not receive 2 or more products simultaneously already tried to separate the sales table into 2: sale...
asked by 20.01.2018 / 01:21
0
answers

Write an XML file inside the C #

Good evening, people, I would like a help, the structure of my project is in accordance with the image below. Iwouldliketoimportthedatafrommytableintothis'arq.xml'filethatisinsidetheproject.I'mtryingtodowiththiscode:dt.WriteXml("arq.xml",...
asked by 28.01.2018 / 03:35
1
answer

After you destroy the Datatable, the next load shows error: Can not read property 'column' of undefined

When you load the datatable for the first time, everything works normally, the columns of the table are displayed without problem. But when I update the table with a new filter parameter, the table is not loaded, and it shows the message loading...
asked by 19.01.2018 / 15:20
1
answer

compare datatable with gridview

My question is as follows: I have a gridview that I populate it with a data table of a table called "DiscountDate", however I need a button that when clicked it will go into another table named "sectors" and go through each row of the sectors ta...
asked by 21.11.2017 / 15:23
1
answer

Datatable return from select

I am using the datatable with ajax, getting among others a column with select, but I do not know why onchange does not work. Here's the ajax return: {"data": [[ 1, "17020161", "Marina Costa Vasconcelos", "<select da...
asked by 13.11.2017 / 19:04
0
answers

How to save the current page from a dataTable to a variable?

I would like to save in the page variable the current page value of a table using the DataTable plugin, because of their documentation I believe it is more or less like this, but it is not working. var table = $('#myTable').DataTable(); var pa...
asked by 26.07.2017 / 21:30
1
answer

jquery datatable submit details

I have a jQuery DataTable that has detail, where I click on the line the expand the detail tamplate that makes a request to the server and brings different data from the main table, follow this Example But my problem now is this, I need ins...
asked by 11.07.2017 / 16:40
2
answers

dataTables does not sort numbers correctly with string

I have a table where I use the dataTables plugin and in some columns (in several of them) have values that contain numbers + string. An example column: Itshouldbesortingfromhighesttolowestwhenyouclick,butbyclickingonthecolumnitbringsm...
asked by 28.06.2017 / 22:18