public void override_field() { var column = new ColumnDefinition<ColumnDefTarget, string>(x => x.Name); column.Field("else"); writeColumn(column).ShouldEqual("{name: \"Name\", field: \"else\", id: \"Name\", sortable: true}"); }
public void override_field() { var column = new ColumnDefinition <ColumnDefTarget, string>(FieldType.column, x => x.Name); column.Field("else"); writeColumn(column).ShouldEqual("{name: \"Name\", field: \"else\", id: \"Name\", sortable: true}"); }
public void override_field() { var column = new ColumnDefinition <ColumnDefTarget, string>(x => x.Name, theProjection); column.Field("else"); writeColumn(column).ShouldEqual("{name: \"Name\", field: \"else\", id: \"Name\", sortable: true, frozen: false}"); }