Skip to content

Releases: ekondur/DatatableJS

3.4.0

08 Dec 19:53
Compare
Choose a tag to compare

What's Changed

.Callbacks(x => x.CreatedRow("createdRow").InitComplete("initComplete"))
function createdRow(row, data, dataIndex, cells){
    console.log(dataIndex + " " + data.Name);
}
.StateSave(true)

Full Changelog: v3.3.2...v3.4.0

3.3.2

21 Nov 20:35
Compare
Choose a tag to compare

What's Changed

New Contributors

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

22 Oct 19:50
Compare
Choose a tag to compare

What's Changed

Full Changelog: v.3.3.0...v3.3.1

3.3.0

20 Oct 14:43
Compare
Choose a tag to compare

What's Changed

.Selecting(true, SelectItems.Checkbox)

Full Changelog: v.3.2.5...v3.3.0

3.2.5

05 Aug 22:42
Compare
Choose a tag to compare

What's Changed

  • Fixed dropdown button issue for bootstrap 5.* versions #82 by @ekondur in #83

Full Changelog: v3.2.4...v.3.2.5

3.2.4

14 Jul 21:10
Compare
Choose a tag to compare

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

Full Changelog: v3.2.1...v3.2.4

3.2.1

20 Apr 21:03
192ec89
Compare
Choose a tag to compare

What's Changed

New Contributors

3.2.3

16 Jan 22:48
8097e04
Compare
Choose a tag to compare

#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

13 Jan 12:54
Compare
Choose a tag to compare

#68 fixed using error leftColumns of FixedColumns
#69 added Processing support

Enable or disable the display of a 'processing' indicator when the table is being processed. Default is true. Reference:

.Processing(false)

3.2.0

04 Jan 13:32
688a8e7
Compare
Choose a tag to compare

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"/>