[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.BaseCollectionViewServiceTagHelper-2.OrderBy

OrderBy Property

OrderBy

Configurates C1.Web.Mvc.CollectionViewService<T>.SortDescriptions. Sets the sort descriptions.

Declaration
public string OrderBy { get; set; }
Remarks

A string that contains the field name followed by "ASC" or "asc" (ascending) or "DESC" or "desc" (descending). Fields are sorted ascending by default. Multiple fields can be separated by commas.

Examples

<c1-items-sources order-by="State ASC, ZipCode DESC"></c1-felx-grid>