Sort/Reorder Hubdb rows on listing page

Hello friends,

I am starting to build out a team page and was wondering what people’s approaches to sorting are.

The sort that I will need needs to be easily customized by user. So let’s say we have 5 employees. CEO, Writer, Janitor, Intern and a Drummer.

Janitor would be first, Drummer second, Writer third, CEO fourth and intern fifth.

With a small set like this, I would probably create a column for a number and sort that way, but if there are 50 employees that may not be the best solution.

If only you could drag and drop the table rows (hint hint)

Thanks in advance!

d

Hey @dennisedson,

To clarify, your idea is whatever order you see in the HubDB table should reflect as is on the live page?

If that is the case, currently, HubDB requires certain rules to sort the orders of the table.

That being said, I see where you come form and I think it is great idea, so I would recommend you to post your idea to our community (https://community.hubspot.com/t5/custom/page/page-id/ideaslandingpage) with good use case!

Hi @dennisedson,

if I understand you correctly, you want to give your page visitors the ability to “filter/rearange” the viewable content of the team page?

If so, I would recomend to build a custom module.

A very good starting point is the “real estate” tutorial from HubSpot.

You can find it here

You’ll need a little bit of HTML and CSS, to get your desired look.

regards,

Anton

Thanks, @Anton. I know a custom module is a possibility, but hubdb is much more powerful. To my understanding, a custom module’s data is limited to the specific page upon which it resides. What if I wanted to pull the data into multiple pages?
Thank you for responding!
Best,
D