Add transaction list

This commit is contained in:
2016-08-29 14:43:26 -04:00
parent b57c5ae41c
commit 016f031664
11 changed files with 124 additions and 26 deletions
+6 -2
View File
@@ -21,13 +21,15 @@ namespace InventoryTraker.Web.Helpers
public void Add<TProp>(Expression<Func<T, TProp>> property,
string columnHeader = null,
string cellFilter = null)
string cellFilter = null,
bool cellToolTipContents = false)
{
_tag._columns.Add(new ColumnDefinition
{
Field = property.ToCamelCaseName(),
Name = columnHeader,
CellFilter = cellFilter
CellFilter = cellFilter,
CellToolTip = cellToolTipContents
});
}
}
@@ -39,6 +41,8 @@ namespace InventoryTraker.Web.Helpers
public string Name { get; set; }
public string CellFilter { get; set; }
public bool CellToolTip { get; set; }
}
private readonly List<ColumnDefinition> _columns = new List<ColumnDefinition>();