DragonwolfRazorHelper 1.0.0
See the version list below for details.
dotnet add package DragonwolfRazorHelper --version 1.0.0
NuGet\Install-Package DragonwolfRazorHelper -Version 1.0.0
<PackageReference Include="DragonwolfRazorHelper" Version="1.0.0" />
paket add DragonwolfRazorHelper --version 1.0.0
#r "nuget: DragonwolfRazorHelper, 1.0.0"
// 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
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 !
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net47 is compatible. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- bootstrap.less (>= 3.3.7)
- jQuery (>= 3.3.1)
- jQuery.Validation (>= 1.17.0)
- Knockout.Mapping (>= 2.4.0)
- knockoutjs (>= 3.4.2)
- KoLite (>= 1.2.0)
- Microsoft.AspNet.Mvc (>= 5.2.4)
- Microsoft.AspNet.Mvc.fr (>= 5.2.4)
- Microsoft.AspNet.Razor (>= 3.2.4)
- Microsoft.AspNet.Web.Optimization (>= 1.1.3)
- Microsoft.CodeDom.Providers.DotNetCompilerPlatform (>= 1.0.8)
- Microsoft.Web.Infrastructure (>= 1.0.0)
- Newtonsoft.Json (>= 11.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
First version.