|
|
@@ -110,13 +110,15 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
{
|
|
|
column.Caption = "Kostenstelle";
|
|
|
column.FieldName = "CustomNumber";
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
column.MinWidth = 100;
|
|
|
- column.Width = new Unit(8, UnitType.Percentage);
|
|
|
+ column.Width = new Unit(8, UnitType.Percentage);
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
column.Caption = "Bauvorhaben";
|
|
|
column.FieldName = "Description";
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
column.Width = new Unit(20, UnitType.Percentage);
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
@@ -342,6 +344,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "CustomNumber";
|
|
|
column.MinWidth = 50;
|
|
|
column.Width = new Unit(60, UnitType.Pixel);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
column.Settings.SortMode = DevExpress.XtraGrid.ColumnSortMode.Custom;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
@@ -350,6 +353,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "Description";
|
|
|
column.MinWidth = 220;
|
|
|
column.Width = new Unit(250, UnitType.Pixel);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
@@ -357,6 +361,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "SiteDescription";
|
|
|
column.MinWidth = 120;
|
|
|
column.Width = new Unit(130, UnitType.Pixel);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
@@ -364,6 +369,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "AppendixDescription";
|
|
|
column.MinWidth = 100;
|
|
|
column.Width = new Unit(100, UnitType.Pixel);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
@@ -413,6 +419,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "StatusDescription";
|
|
|
column.MinWidth = 110;
|
|
|
column.Width = new Unit(120, UnitType.Pixel);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
@@ -427,6 +434,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "KindDescription";
|
|
|
column.MinWidth = 140;
|
|
|
column.Width = new Unit(140, UnitType.Pixel);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
@@ -485,7 +493,10 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
}
|
|
|
|
|
|
if (e.SummaryProcess == CustomSummaryProcess.Finalize)
|
|
|
- e.TotalValue = totalDaysReceiptToAppendixOfferingSum / totalDaysReceiptToAppendixOfferingCount;
|
|
|
+ if (totalDaysReceiptToAppendixOfferingSum == 0 || totalDaysReceiptToAppendixOfferingCount == 0)
|
|
|
+ e.TotalValue = 0;
|
|
|
+ else
|
|
|
+ e.TotalValue = totalDaysReceiptToAppendixOfferingSum / totalDaysReceiptToAppendixOfferingCount;
|
|
|
};
|
|
|
|
|
|
s.TotalSummary.Add(new ASPxSummaryItem
|
|
|
@@ -660,6 +671,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.MinWidth = 80;
|
|
|
column.Width = new Unit(80, UnitType.Pixel);
|
|
|
column.Settings.SortMode = DevExpress.XtraGrid.ColumnSortMode.Custom;
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
@@ -667,6 +679,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "Description";
|
|
|
column.MinWidth = 200;
|
|
|
column.Width = new Unit(14, UnitType.Percentage);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
@@ -674,6 +687,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "SiteDescription";
|
|
|
column.MinWidth = 150;
|
|
|
column.Width = new Unit(10, UnitType.Percentage);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
@@ -681,6 +695,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "SiteCustomNumber";
|
|
|
column.MinWidth = 120;
|
|
|
column.Width = new Unit(120, UnitType.Pixel);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
@@ -739,6 +754,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "StateDescription";
|
|
|
column.MinWidth = 100;
|
|
|
column.Width = new Unit(100, UnitType.Pixel);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
@@ -1098,6 +1114,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "LogLevelDescription";
|
|
|
column.MinWidth = 100;
|
|
|
column.Width = new Unit(8, UnitType.Percentage);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
@@ -1105,6 +1122,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "ShortMessage";
|
|
|
column.MinWidth = 150;
|
|
|
column.Width = new Unit(12, UnitType.Percentage);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
@@ -1131,6 +1149,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "IpAddress";
|
|
|
column.MinWidth = 130;
|
|
|
column.Width = new Unit(10, UnitType.Percentage);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
@@ -1138,6 +1157,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "UserDescription";
|
|
|
column.MinWidth = 130;
|
|
|
column.Width = new Unit(10, UnitType.Percentage);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
@@ -1145,6 +1165,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "EntityType";
|
|
|
column.MinWidth = 100;
|
|
|
column.Width = new Unit(8, UnitType.Percentage);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|
|
|
@@ -1152,6 +1173,7 @@ namespace GreenTree.Nachtragsmanagement.Web.Extensions
|
|
|
column.FieldName = "EntityId";
|
|
|
column.MinWidth = 100;
|
|
|
column.Width = new Unit(8, UnitType.Percentage);
|
|
|
+ column.SettingsHeaderFilter.Mode = GridHeaderFilterMode.CheckedList;
|
|
|
});
|
|
|
s.Columns.Add(column =>
|
|
|
{
|