Add transaction list
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user