public static IHtmlContent TextCell <T, TValue>(this IHtmlHelper <T> helper, Expression <Func <T, TValue> > exp, object cellAttributes = null) { var Provider = helper.GetService <ITablesHelper>(); CellWriter mod = Provider.TextCell(helper, exp, cellAttributes); return(mod.WriteCell(CellTypes.LabelCell)); }
public static IHtmlContent DragContentCell <T>(this IHtmlHelper <T> helper, string tableName, string modelName = null, string width = null, object cellAttributes = null) { var Provider = helper.GetService <ITablesHelper>(); CellWriter writer = Provider.DragContentCell <T>(helper, tableName, modelName, width, cellAttributes); return(writer.WriteCell(CellTypes.DragCell)); }