test
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
<h1>Lehrer</h1>
|
||||
|
||||
|
||||
<div class="col-lg-12 control-section">
|
||||
<div class="content-wrapper">
|
||||
<div class="row">
|
||||
@@ -22,11 +23,11 @@
|
||||
<GridEditSettings AllowAdding="false" AllowDeleting="false" AllowEditing="false" Mode="EditMode.Dialog" Dialog="DialogParams"></GridEditSettings>
|
||||
<GridEvents OnActionBegin="OnBeginHandler" OnActionComplete="OnCompletedHandler" TValue="Lehrer" OnDataBound="RowDataBoundHandler" CommandClicked="CommandClickHandler"></GridEvents>
|
||||
<GridColumns>
|
||||
<GridColumn Type="ColumnType.CheckBox" AllowFiltering="false" AllowSorting="false" Width="60"></GridColumn>
|
||||
@* <GridColumn Type="ColumnType.CheckBox" AllowFiltering="false" AllowSorting="false" Width="60"></GridColumn>*@
|
||||
|
||||
<GridColumn Field=@nameof(Lehrer.ID) HeaderText="Id" IsPrimaryKey="true" AllowAdding="false" Width="60"></GridColumn>
|
||||
<GridColumn Field=@nameof(Lehrer.ID) HeaderText="Id" IsPrimaryKey="true" AllowAdding="false" Width="60" Visible="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(Lehrer.anredeID) HeaderText="Anredeid" Width="100" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(Lehrer.anredeID) HeaderText="Anredeid" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(Lehrer.name) HeaderText="Name" Width="100" Visible="true"></GridColumn>
|
||||
|
||||
@@ -38,8 +39,10 @@
|
||||
|
||||
<GridColumn Field=@nameof(Lehrer.email) HeaderText="Email" Width="100" Visible="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(Lehrer.schulhausID) HeaderText="Schulhausid" Width="100" Visible="true"></GridColumn>
|
||||
|
||||
@*<GridColumn Field=@nameof(Lehrer.schulhausID) HeaderText="Schulhaus" Width="100" Visible="true">*@
|
||||
<GridForeignColumn Field=@nameof(Lehrer.schulhausID) HeaderText="Schulhaus" ForeignKeyValue=@nameof(BWPMModels.Schulhaus.bezeichnung) ForeignKeyField=@nameof(BWPMModels.Schulhaus.ID) ForeignDataSource="@Schulhaus" Width="100"></GridForeignColumn>
|
||||
@*</GridColumn>
|
||||
*@
|
||||
@*<GridColumn Field=@nameof(Lehrer.briefanrede) HeaderText="Briefanrede" Width="100" Visible="true"></GridColumn>
|
||||
|
||||
<GridColumn Field=@nameof(Lehrer.mandantnr) HeaderText="Mandantnr" Width="100" Visible="true"></GridColumn>
|
||||
@@ -52,7 +55,7 @@
|
||||
|
||||
<GridColumn Field=@nameof(Lehrer.mutierer) HeaderText="Mutierer" Width="100" Visible="true"></GridColumn>*@
|
||||
|
||||
<GridColumn Field=@nameof(Lehrer.userid) HeaderText="Userid" Width="100" Visible="true"></GridColumn>
|
||||
<GridColumn Field=@nameof(Lehrer.userid) HeaderText="Userid" Width="100" Visible="false"></GridColumn>
|
||||
|
||||
<GridColumn HeaderText="Funktionen" Width="150">
|
||||
<GridCommandColumns>
|
||||
@@ -113,6 +116,7 @@
|
||||
public List<BWPMModels.Lehrer> Lehrers { get; set; }
|
||||
public List<BWPMModels.Lehrer> TmpLehrer { get; set; }
|
||||
public List<BWPMModels.AspNetUsers> Users { get; set; }
|
||||
public List<BWPMModels.Schulhaus> Schulhaus { get; set; }
|
||||
string userid = "";
|
||||
public static int? pkey { get; set; }
|
||||
public bool Initial { get; set; } = true;
|
||||
@@ -126,6 +130,7 @@
|
||||
{
|
||||
/// GridData = OrdersDetails.GetAllRecords();
|
||||
GridData = BlazorApp.Controller.LehrerController.GetAllData();
|
||||
Schulhaus = BlazorApp.Controller.SchulhausController.GetAllData();
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
|
||||
Reference in New Issue
Block a user