Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add column header sorting to KendoGrid #56

Closed
YevgeniyShunevych opened this issue May 11, 2020 · 0 comments
Closed

Add column header sorting to KendoGrid #56

YevgeniyShunevych opened this issue May 11, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@YevgeniyShunevych
Copy link
Member

YevgeniyShunevych commented May 11, 2020

  • Add KendoGridHeaderSortOrder enum with values: None, Ascending and Descending.

  • Add KendoGridHeader<TOwner> control inherited from TableHeader<TOwner> with members:

    public Text<TOwner> Text { get; }
    
    public DataProvider<KendoGridHeaderSortOrder, TOwner> SortOrder { get; }
    
    public TOwner SortAscending();
    
    public TOwner SortDescending();
    
    TOwner Sort(KendoGridHeaderSortOrder sortOrder);
  • Update KendoGrid classes to use KendoGridHeader<TOwner> by default as column header type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant