DocsExamplesMore examples

Examples

Sorting State Managed

The sort state is kept in React state outside the table and passed back in. The table sorts the same as with its own state.

Try it

  1. Click First Name and choose Sort ascending. A First Name chip appears.
  2. Click First Name again and choose Clear sort. The chip goes away.