init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,37 @@
|
|||
@using Kreta.Web.Helpers.Grid
|
||||
@using Kreta.BusinessLogic.Classes
|
||||
@using Kreta.Web.Areas.Tanulo.Models
|
||||
@using Kreta.Resources
|
||||
@model int?
|
||||
|
||||
@{
|
||||
const string TanuloApiController = Constants.ApiControllers.TanuloApi;
|
||||
}
|
||||
|
||||
<br />
|
||||
<h4>@TanuloResource.DiakolimpiaReszvetel</h4>
|
||||
<div class="container-fluid">
|
||||
@(
|
||||
Html.KretaGrid<TanuloDiakOlimpiaGridModel>(
|
||||
name: "DiakOlimpiaGrid",
|
||||
getUrl: new GridApiUrl(TanuloApiController, "GetDiakOlimpiaGrid", new Dictionary<string, string>()),
|
||||
allowSorting: false,
|
||||
readDataFunction: "function(){ return { data: '" + (Model.HasValue ? Model.Value.ToString() : "") + "' }; }"
|
||||
)
|
||||
.Columns(columns =>
|
||||
{
|
||||
columns.Bound(c => c.VersenyNev);
|
||||
columns.Bound(c => c.VersenyReszNev);
|
||||
columns.Bound(c => c.Jelleg);
|
||||
columns.Bound(c => c.Korcsoport);
|
||||
columns.Bound(c => c.Helyszin);
|
||||
columns.Bound(c => c.Kezdete).Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]).Width("10%");
|
||||
columns.Bound(c => c.Vege).Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]).Width("10%");
|
||||
columns.Bound(c => c.Fordulo);
|
||||
columns.Bound(c => c.Resztvett);
|
||||
columns.Bound(c => c.Tovabbjutott);
|
||||
columns.Bound(c => c.Eredmeny);
|
||||
columns.Bound(c => c.Helyezes);
|
||||
})
|
||||
)
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue