Merge branch 'develop' of https://gitlab.steamware.net/steamware/mapo-core into develop
This commit is contained in:
@@ -25,6 +25,7 @@ namespace MP.SPEC.Data
|
||||
public int NumRec { get; set; } = 10;
|
||||
public int TotCount { get; set; } = 0;
|
||||
public int MaxRecord { get; set; } = 100;
|
||||
public bool isEditing { get; set; } = false;
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row pt-4">
|
||||
<div class="row pt-4 " >
|
||||
<div class="col-3 pe-0">
|
||||
</div>
|
||||
<div class="col-3 pe-0">
|
||||
|
||||
@@ -105,6 +105,19 @@ namespace MP.SPEC.Pages
|
||||
}
|
||||
|
||||
}
|
||||
private string css()
|
||||
{
|
||||
string answ = "";
|
||||
if (isEditing == false)
|
||||
{
|
||||
answ = "disabled";
|
||||
}
|
||||
else
|
||||
{
|
||||
answ = "enabled";
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
protected void updateTotal(int newTotCount)
|
||||
{
|
||||
@@ -144,7 +157,11 @@ namespace MP.SPEC.Pages
|
||||
get => currFilter.NumRec;
|
||||
set => currFilter.NumRec = value;
|
||||
}
|
||||
|
||||
private bool isEditing
|
||||
{
|
||||
get => currFilter.isEditing;
|
||||
set => currFilter.isEditing = value;
|
||||
}
|
||||
private int totalCount
|
||||
{
|
||||
get => currFilter.TotCount;
|
||||
|
||||
Reference in New Issue
Block a user