Rendering a sortable table using atlassian-connect-express

Hi there,

I’m trying to get my macro plugin to render a table which is easy enough using bog standard HTML. What I’d like to do is make the table sortable like you’d get from a normal table in Confluence but I can’t find any documentation on how to do this.
I had something working with the previous version of the editor but with the new version I can’t get anything to work.
I’ve tried copying all the classes and layout of actual Confluence tables and returning that, but alot of it gets stripped and the table isn’t sortable.
Has anyone else had more luck?

thanks,

Matt

You can use React and Atlaskit in your Confluence macro:
https://atlaskit.atlassian.com/packages/core/dynamic-table

The template project for atlassian-connect-express has recently been updated to include React and Atlaskit (and also server side rendering):
https://bitbucket.org/atlassian/atlassian-connect-express-template

1 Like

Thanks very much that looks like it’ll solve everything, I’ll give it a look,

Matt