Esempio n. 1
0
 public static TableSortDescriptor ToSortDescriptor(this TableColumnDescriptor column, TableViewModel model)
 {
     return(new TableSortDescriptor
     {
         FieldId = column.FieldId,
         Model = model,
         DisplayName = column.DisplayName,
         ColumnSortRenderer = column.ColumnSortRenderer
     });
 }
Esempio n. 2
0
 public static TableFilterDescriptor ToFiltersDescriptor(this TableColumnDescriptor column, [CanBeNull] TableViewModel model)
 {
     return(new TableFilterDescriptor
     {
         FieldId = column.FieldId,
         FiledType = column.FiledType,
         Model = model,
         ColumnFilterRenderer = column.ColumnFilterRenderer
     });
 }