Questions tagged as 'datatable'

1
answer

Remove relationship in return json from Laravel's Datatables package

I have the following code snippet using laravel and the Datatables package $products = Product::with('enterprise') ->select(['id', 'enterprise_id', 'name']) ->whereIn('enterprise_id', [1, 2]); retur...
asked by 26.08.2016 / 17:29
0
answers

Sorting a DataTable column by a field of type DateTime

I have the following field in my model: [Required] [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)] public DateTime? DataCadastro { get; set; } I use the DisplayFormat to format and display the date in Braz...
asked by 22.08.2016 / 17:44
2
answers

Static DataTable, how to load?

I need to create a method, which when the user logs into the system, when the initial menu is loaded, it loads a Static DataTable , so that I can use DataTable in future, to populate some ComboBox , without have the need to ma...
asked by 23.07.2016 / 01:03
0
answers

Datatable. visible () does not work

I'm using this library angular-datatables , but the visible function is not hiding the desired columns when loading the page. Here is the code that should hide the columns: $(document).ready(function () { var column = $('#DataTa...
asked by 13.06.2016 / 21:47
1
answer

Checking a batch DataTable (IDs) in the database

I have a small desktop application (Windows Forms - .NET 2.0 - C #) in which I only use it to perform a check on a particular hourly path and, if this check finds any .txt file in this path, it is an import of this file was performed. However...
asked by 31.03.2016 / 17:19
2
answers

Checkbox in DatagridView C #

Good afternoon. I have a datagrid view with a column of type checkbox, tied to a DataTable with the column of type checkbox as well. My problem is this: I have to go through a presence list, if the student is present, I have to set the check to...
asked by 18.04.2016 / 18:50
0
answers

jQuery dataTable sAjaxSource - Show error while doing search

At great cost, I was able to find ajax code for loading tables. It was necessary because there are more than 5 thousand records. This is appearing error when doing the search:    DataTables warning (table id = 'table-schedule'): DataTables...
asked by 10.11.2015 / 15:32
0
answers

How to page the data? Via StoredProcedure or DataView?

I am using DataTables.net with server-side via WebForm and Ado.net. I need to page the data (sort, filter, etc), I see 2 possibilities: - via stored procedure ou - via DataView The problem is that when using DataTables.net it sends me 62...
asked by 20.10.2015 / 14:50
1
answer

Update dataTable on primefaces

How can I update my dataTable without restarting the application? The way I'm doing the table is updated after a F5 , but if I give F5 again, it gets outdated again. For example: I have 3 positions, my query only has the x c...
asked by 11.06.2015 / 18:54
1
answer

Datatable with pagination server side

I searched a lot in Google but did not have a clear path of how to make a datatable that contains pagination by the server, or seka, that on each page it made an individual request of it. All I saw, it makes the php request with the back end,...
asked by 08.11.2016 / 20:28