DragonwolfRazorHelper 1.0.0

There is a newer version of this package available.
See the version list below for details.
Install-Package DragonwolfRazorHelper -Version 1.0.0
dotnet add package DragonwolfRazorHelper --version 1.0.0
<PackageReference Include="DragonwolfRazorHelper" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DragonwolfRazorHelper --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DragonwolfRazorHelper, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DragonwolfRazorHelper as a Cake Addin
#addin nuget:?package=DragonwolfRazorHelper&version=1.0.0

// Install DragonwolfRazorHelper as a Cake Tool
#tool nuget:?package=DragonwolfRazorHelper&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Just get the package and reference Javascript "KODataTable.js" on your Layout page.

Giving a JsName for your table on the Razor's call, you can recover your table in your own javascript using the command : var model = function() { this.MyTable = KODataTable.GetTable("MyTable");

  ko.applyBindings(this);

};

Once the table is recovered, you can access datas from "Datas"'s property.

For ajax server calling, you must use a class that is or inherits from "PagingSortingFilterModel" for controller calling, and return a value, wrapped into a class that is or inherits from PagingSortingFilterResult<T>.

For more information you can see Github repository with three using samples.

Have fun !

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 616 5/3/2018
1.0.0 662 4/28/2018

First version.