Set default column for sorting table

There used to be in the old table component a way to set the default column to sort the table including ASC/DESC, but I can't see this in the new table component.

What's the best way to accomplish this? I know there's a defaultSortByColumn property, but adding in an extra javascript query just to handle this for one table seems unnecessary.

Thanks,
JMR

Hi @hess411, thanks for writing in.

The new table also has a setting for the Default Sort. You can choose a column and a sort direction in the Advanced section of Interaction.

Hope this helps!

5 Likes

That was exactly what I needed! Thank you.