Releases: ekondur/DatatableJS
3.4.0
What's Changed
.Callbacks(x => x.CreatedRow("createdRow").InitComplete("initComplete"))
function createdRow(row, data, dataIndex, cells){
console.log(dataIndex + " " + data.Name);
}
- #103 Supporting StateSave Reference:
.StateSave(true)
Full Changelog: v3.3.2...v3.4.0
3.3.2
What's Changed
- #84 Added Selecting Behaviour by @ekondur in #85
- #84 Added Column Selection by @ekondur in #87
- Changed NeutralCulture in DatatableJS.Data/DatatableJs.Data.csproj by @madcoda9000 in #94
- Removing data null check in Template #95 by @madcoda9000 in #97
- Added multi+shift selection by @ekondur in #99
New Contributors
- @madcoda9000 made their first contribution in #94
PM> Install-Package DatatableJS -Version 3.3.2
PM> Install-Package DatatableJS.Data -Version 3.3.2
PM> Install-Package DatatableJS.Net -Version 3.3.2
Full Changelog: v.3.2.5...v3.3.2
3.3.1
3.3.0
3.2.5
3.2.4
What's Changed
- Bump Newtonsoft.Json from 10.0.1 to 13.0.1 in /DatatableJS by @dependabot in #79
- Bump Newtonsoft.Json from 6.0.1 to 13.0.1 in /DatatableJS.Net by @dependabot in #78
- [Snyk] Security upgrade Microsoft.AspNetCore.Mvc.ViewFeatures from 2.0.0 to 2.0.4 by @snyk-bot in #80
New Contributors
- @dependabot made their first contribution in #79
- @snyk-bot made their first contribution in #80
Full Changelog: v3.2.1...v3.2.4
3.2.1
What's Changed
- Fixed issue with multiple column sorting by @GeffersJohn-Armor-IIMAK in #77
New Contributors
- @GeffersJohn-Armor-IIMAK made their first contribution in #77
3.2.3
#71 Fixed default ServerSide value to false
#72 Added ScrollX support
Enable horizontal scrolling. When a table is too wide to fit into a certain layout, or you have a large number of columns in the table, you can enable horizontal (x) scrolling to show the table in a viewport, which can be scrolled. Reference:
.ScrollX(true)
3.2.2
3.2.0
Default Order:
.Orders(order => {
order.Add(p => p.Name, OrderBy.Descending);
order.Add(p => p.Age, OrderBy.Ascending);
})
Using this method you can define which column(s) the order is performed upon, and the ordering direction. Reference
Using Tag Helper:
<orders>
<add field="Name" order-by="Descending" />
</orders>
Length Menu:
.LengthMenu(new int[] {5,10,15})
This method allows you to readily specify the entries in the length drop down select list that DataTables shows . Reference
.LengthMenu(new int[] {5,10,15}, true)
Set hasAll paramter true to show All option in select.
.LengthMenu(new int[] {5,10,15}, true, "All Pages")
Set allText paramter to change name of option All.
Using Tag Helper:
<length-menu values="new int[]{5,10,15}" has-all="true" all-text="All Pages"/>
Page Length:
.PageLength(15)
Number of rows to display on a single page when using pagination. Reference
Using Tag Helper:
<data-source page-length="20"/>