Jump to:

23459 Posts in 18906 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Problems with sortable tables

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 735 Views
  • ThereBeDragonsHere
    Community Member
    8 Posts

    Problems with sortable tables Link to this post

    Hello folks,

    I am building an encyclopedic site which has sortable tables as a function and would like to keep this functionality after migrating my site to SilverStripe. However, I have noticed that the javascript code that I had been using does not work correctly in the CMS. This is what my page looks like in the CMS:


    As an experiment, I copied the source code of the entire page and made a separate html page. For some reason, the javascript works just fine in the test page but not in the CMS page.


    What can I do to get sortable tables? I had been looking through the forum archive and had seen this:


    But I have to admit that I don't understand what it means. Where do I paste that information into? And what do I need to change in that text to make it apply to my table? Thanks!

    Oh, and my template has a whole host of other problems, as evident from what you can see. Any help on resolving those would be great too.

  • dompie
    Community Member
    88 Posts

    Re: Problems with sortable tables Link to this post

    How did you build up your Table and how do you add new entries? Have you instanciated an xxTable class somewhere in source code?

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.