fixes
This commit is contained in:
parent
cfe9c2c3fd
commit
aad3a59383
|
|
@ -27,7 +27,7 @@
|
|||
<DxToolbarItem Text="To PDF" Click="ExportPdfItem_Click" />
|
||||
</Items>
|
||||
</DxToolbarItem>
|
||||
<DxToolbarItem Text="Reload data" BeginGroup="true" Click="ReloadData_Click" />
|
||||
<DxToolbarItem Text="Reload data" BeginGroup="true" Click="ReloadData_Click" Enabled="@BtnReloadDataEnabled" />
|
||||
<DxToolbarItem BeginGroup="true">
|
||||
</DxToolbarItem>
|
||||
@* <DxToolbarItem BeginGroup="true">
|
||||
|
|
@ -46,6 +46,8 @@
|
|||
|
||||
public ToolbarBase Toolbar { get; set; }
|
||||
const string ExportFileName = "ExportResult";
|
||||
|
||||
public bool BtnReloadDataEnabled = true;
|
||||
public bool EditItemsEnabled { get; set; } = true;
|
||||
private LoggerClient<GridShippingItemTemplate> _logger;
|
||||
|
||||
|
|
@ -56,7 +58,9 @@
|
|||
|
||||
async Task ReloadData_Click(ToolbarItemClickEventArgs e)
|
||||
{
|
||||
BtnReloadDataEnabled = false;
|
||||
await OnReloadDataClick.InvokeAsync();
|
||||
BtnReloadDataEnabled = true;
|
||||
}
|
||||
|
||||
async Task NewItem_Click()
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@
|
|||
<a>@ctxOrderDate.Day.ToString()</a>
|
||||
}
|
||||
}
|
||||
or
|
||||
</DayCellTemplate>
|
||||
</DxDateEdit>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ namespace FruitBankHybrid
|
|||
builder.Services.AddSingleton<IAcLogWriterClientBase, BrowserConsoleLogWriter>();
|
||||
#endif
|
||||
|
||||
builder.Services.AddSingleton<ObjectLock>();
|
||||
builder.Services.AddSingleton<LoggedInModel>();
|
||||
builder.Services.AddScoped<FruitBankSignalRClient>();
|
||||
builder.Services.AddSingleton<DatabaseClient>();
|
||||
|
|
|
|||
Loading…
Reference in New Issue