Skip to main content

Sort Handler

Simple sort handler.

<>
<SortHandler />
</>

Label#

Add label by defining label prop.

Label
<>
<SortHandler label="Label" />
</>

Field#

Same sortField will be handled at the same time.

Label1
Label2
Label3
<>
<SortHandler sortField="field1" label="Label1" />
<SortHandler sortField="field1" label="Label2" />
<SortHandler sortField="field2" label="Label3" />
</>

API#

import SortHandler from "erxes-ui/lib/components/SortHandler";

* required prop

NameTypeDefaultDescription
sortFieldstringSet the sort field
labelstringDefine the handler name
Last updated on by enkhzule