Esempio n. 1
0
 /// <summary>
 /// 子表格列
 /// </summary>
 /// <param name="expression">表达式</param>
 /// <param name="width">宽度</param>
 public ISubGridColumn SubGridColumn <TProperty>(Expression <Func <TProperty> > expression, int?width = 100)
 {
     return(EasyUiFactory <TProperty> .CreateSubGridColumn(expression).Width(width).Align());
 }
Esempio n. 2
0
 /// <summary>
 /// 子表格列
 /// </summary>
 /// <param name="field">字段名</param>
 /// <param name="text">标题文本</param>
 /// <param name="width">宽度</param>
 public ISubGridColumn SubGridColumn(string field, string text, int?width = 100)
 {
     return(EasyUiFactory.CreateSubGridColumn().Field(field).Text(text).Width(width).Align());
 }