public static IGridWithOptions <T> WithClass <T>(this IGridWithOptions <T> grid, string htmlID) where T : class { return(grid.Attributes(@class => htmlID)); }
/// <summary> /// Defines additional attributes for a grid. /// </summary> /// <returns></returns> public static IGridWithOptions <T> Attributes <T>(this IGridWithOptions <T> grid, params Func <object, object>[] hash) where T : class { return(grid.Attributes(new Hash(hash))); }