Closed mysticfall closed 11 years ago
Provide convinient way to toggle sort modes.
For example, when building a common grid UI which has a sort button on header cells which cycles through the available sort modes,
it's cumbersome to determine what the current status is and what next mode to change without writing lot of if-else statements.
Provide convinient way to toggle sort modes.
For example, when building a common grid UI which has a sort button on header cells which cycles through the available sort modes,
it's cumbersome to determine what the current status is and what next mode to change without writing lot of if-else statements.