Sortable table on content page

OS info

  • Operating System : Mac OSX 19.6.0
  • Wappler Version : 4.0.0-beta.10

Problem description

Sortable headers work in preview but not in browser
Sorting by index 1-9 in editor preview:


Sorting 9-1 in editor preview:

In the browser:

Notice the lack of sortable arrows, etc.
I’ve saved the files and all works as expected in the editor preview but not in the browser.

Steps to reproduce

  1. API Action
  2. Query Manager
  3. SC sort
  4. SC dir

I am new to Wappler and know that this is likely a rookie mistake. I only posted this after spending several days trying to figure it out but I don’t see what I’m doing wrong. Thank you for your help.

Is basic.ejs your layout page? for car-list.ejs only asking because I have noticed sometimes adding something that requires a extra script or file etc on a content page is placed in the layout page so you have access to it or that’s what it seemed to me not sure about that, but if that is the case maybe sortable headers needs something else that’s been added to the layout page what isn’t saved in the screen shot

This maybe completely wrong, im sure the team will know better but something to try

2 Likes

Thank you - this is a content page with a basic (empty) layout page.

I saved the layout page… and IT WORKED.

So, the layout page wasn’t saved I guess. I thought it was saved because I’ve restarted and reopened the app after closing it and the layout page is still there. I need to be sure to save EVERYTHING and will do a better job in that dept. Thank you for helping me out!

btw, the whole layout page thing is something that new users like myself may be confused about - my understanding now is that all content pages must have a layout page even though it’ll let you create a new content page without a layout page assigned to it. I’m coming from bubble and am slowly learning the differences.

Thrilled that the Wappler community is supportive of new folks like myself!