You use the sfSortBox directive when you create custom designers for your widgets. This directive provides functionality for displaying sort options.
To add the sort box directive, perform the following:
The code above assigns an array of custom sort options to the scoped variable sortItems. This adds two choice options to the sort box with values rating and views, respectively. When selected, the value of the choice option is bound to the scope variable sortValue.
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important