How to Apply the Record Display Controller?

How to Apply the Record Display Controller?

DanOshDanOsh Posts: 37Questions: 11Answers: 1

I can't find in the forum or Editor examples how to add the Record Display Controller that I want to add here: http://www.skywateryachts.com/datatables_editor/boats.html
Is there an example I can refer to?
Thanks.

Answers

  • tangerinetangerine Posts: 3,348Questions: 36Answers: 394
  • DanOshDanOsh Posts: 37Questions: 11Answers: 1

    Yes, I believe that's it. I will try it when i get back to my office.

    I have to learn all the function names!

    Thanks!

  • DanOshDanOsh Posts: 37Questions: 11Answers: 1

    I tried applying the following at http://www.skywateryachts.com/dataviews/boats.html and the Page Length Control still doesn't show.

    I have applied both versions and here is the code for one of the versions, pertinent part (Prior to it is "Editor .on.... and after it is initComplete...):

        $('#example').DataTable( {
            "scrollY": 500,
            "scrollCollapse": true,
            "scrollX": true,
            "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],
    

    Any ideas?

  • DanOshDanOsh Posts: 37Questions: 11Answers: 1

    Hi, has anyone had this issue that can help?

    Thanks

  • allanallan Posts: 61,665Questions: 1Answers: 10,096 Site admin

    dom: "Tfrtip",

    Add the l option. See the dom documentation for full details.

    Allan

  • DanOshDanOsh Posts: 37Questions: 11Answers: 1

    That didn't work for me. However, heading over to the "dom" documentation, this worked for me:

    dom: "<lf<t>ip>",

    I'll be playing with the dom options to see the different ways it configures.

    Thanks for heading me in the right direction.

This discussion has been closed.