A simple Visual Studio solution using jQuery DataTable with Server-Side processing using .NET
ExportService
making it genericlengthMenu
and pageLength
parameters.pagingType: "full_numbers"
.dtParameters
variable in TestRegistersController.cs
.dataTables.buttons
plugin, but with server-side data rendering, the file generated will be ordered and filtered with the client parameters.dataTables.buttons
plugin, but with server-side data rendering, the file generated will be ordered and filtered with the client parameters.dataTables.buttons
plugin, but with server-side data rendering, the file generated will be ordered and filtered with the client parameters.Bootstrap
(5.2.0 => 5.2.3)jQuery-datatable
(1.12.1 => 1.13.4)jQuery
(3.6.0 => 3.6.4)momentjs
(2.29.1 => 2.29.4)EPPlus
(6.0.6 => 6.2.3)RandomGen
(1.1.5 => 1.1.6)Swashbuckle.AspNetCore
(6.4.0 => 6.5.0)Swashbuckle.AspNetCore.Swagger
(6.4.0 => 6.5.0)dataTables.buttons
plugin, but with server-side data rendering, the file generated will be ordered and filtered with the client parameters.PropertyInfo[]
and GetCustomAttribute()
methods.String
, Int32
, Double
, Decimal
, Single
, Boolean
and DateTime
. If the data type is not included in the range listed before, the service will add an empty value to the cell.Project Properties
page and downgrading the NuGet Packages.Bootstrap
(5.1.3 => 5.2.0)jQuery-datatable
(1.11.3 => 1.12.1)jQuery-datatable-buttons
(2.0.1 => 2.2.3)jQuery-validation
(1.19.2 => 1.19.5)Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
(5.0.11 => 6.0.7)Microsoft.AspNetCore.Identity.EntityFrameworkCore
(5.0.11 => 6.0.7)Microsoft.AspNetCore.Identity.UI
(5.0.11 => 6.0.7)Microsoft.AspNetCore.Mvc.NewtonsoftJson
(5.0.11 => 6.0.7)Microsoft.EntityFrameworkCore.SqlServer
(5.0.11 => 6.0.7)Microsoft.EntityFrameworkCore.Tools
(5.0.11 => 6.0.7)EPPlus
(5.8.0 => 6.0.6)Project Properties
page and downgrading the NuGet Packages.dataTables.buttons
plugin, but with server-side data rendering, the file generated will be ordered and filtered with the client parameters.Bootstrap
(4.5.0 => 5.1.3)jQuery
(3.5.1 => 3.6.0)jQuery-datatable
(1.10.21 => 1.11.3)momentjs
(2.27.0 => 2.29.1)Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
(3.1.6 => 5.0.11)Microsoft.AspNetCore.Identity.EntityFrameworkCore
(3.1.6 => 5.0.11)Microsoft.AspNetCore.Identity.UI
(3.1.6 => 5.0.11)Microsoft.AspNetCore.Mvc.NewtonsoftJson
(3.1.6 => 5.0.11)Microsoft.EntityFrameworkCore.SqlServer
(3.1.6 => 5.0.11)Microsoft.EntityFrameworkCore.Tools
(3.1.6 => 5.0.11)RandomGen
(1.1.4 => 1.1.5)