Revo Docs

Sort header

A table header that can be sorted.

<x-ui::sort-header :active="true" direction="asc" sortAscLink="" sortDescLink="">
    Name
</x-ui::sort-header>
<x-ui::sort-header :active="false" direction="asc" sortAscLink="" sortDescLink="">
    Age
</x-ui::sort-header>
Copied!

Tooltip

Tooltip

Name
Name of the customer
Age
Age of the customer
<x-ui::sort-header :active="true" direction="asc" sortAscLink="/?sort=name&sortDesc=asc" sortDescLink="/?sort=name&sortDesc=desc" tooltip="Name of the customer">
    Name
</x-ui::sort-header>
<x-ui::sort-header :active="false" direction="asc" sortAscLink="/?sort=age&sortDesc=asc" sortDescLink="/?sort=age&sortDesc=desc" tooltip="Age of the customer">
    Age
</x-ui::sort-header>
Copied!