| @context.Col1 | @context.Col2 | @context.Col3 |
Toggle:
@functions {
List- Items { get; } = new List
- ()
{
new Item(){ Col1 = "a0", Col2 = "b0", Col3 = "c0", },
new Item(){ Col1 = "a1", Col2 = "b1", Col3 = "c1", },
new Item(){ Col1 = "a2", Col2 = "b2", Col3 = "c2", },
};
bool ShowFooter;
public class Item
{
public string Col1 { get; set; }
public string Col2 { get; set; }
public string Col3 { get; set; }
}
}