We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 50350
    • 3 Posts
    Hi to everyone!

    MIGX really intresting and curios module ))

    I've take a very basic example from somewhere:
    Form Tabs:
    [
    {"caption":"Operating Hours","fields": [
    {"field":"day",
    "caption":"Day"
    },{
    "field":"from",
    "caption":"From"
    },{
    "field":"until",
    "caption":"Until"
    }
    ]
    }]

    Grid Columns:
    [
    {"header": "Day", "width": "60", "sortable": "false", "dataIndex": "day"},
    {"header": "From", "width": "50", "sortable": "false", "dataIndex": "from"},
    {"header": "Until", "width": "50", "sortable": "false", "dataIndex": "until"}
    ]


    While i adding new fields in MIGX they can be infinate in backend, or am i wrong?


    My question: is it possible to add pagination in backend or define somehow display fields quantity? [ed. note: studio_m5 last edited this post 9 years ago.]
      • 4172
      • 5,888 Posts
      Pagination ist not possible out of the box.
      It might be possible by creating a copy of the default-MIGX-grid.
      But if you have really many items, I would create a custom-db-table and use a MIGXdb-grid-TV instead.
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 50350
        • 3 Posts
        Quote from: Bruno17 at Apr 25, 2015, 04:42 AM
        Pagination ist not possible out of the box.
        It might be possible by creating a copy of the default-MIGX-grid.
        But if you have really many items, I would create a custom-db-table and use a MIGXdb-grid-TV instead.
        Hi, Bruno! Thank you for taking your time to answer!
        I have read attentively:
        http://rtfm.modx.com/extras/revo/migx/migx.backend-usage
        http://marabar.ru/migxdb-upravlenie-dochernimi-resursami.html
        and of course Google ))
        But i get stuck in terms: creating a copy of the default-MIGX-grid can you please explain me what does it means and how i can do this? [ed. note: studio_m5 last edited this post 9 years ago.]
          • 4172
          • 5,888 Posts
          sorry, a custom grid is only possible with a MIGXdb-TV.
          with a MIGX-TV the grid-filename is hardcoded.

          So, the only easy way to have a paginated grid is to use a custom-table and a MIGXdb - grid.
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 50350
            • 3 Posts
            Quote from: Bruno17 at Apr 26, 2015, 02:49 PM
            sorry, a custom grid is only possible with a MIGXdb-TV.
            with a MIGX-TV the grid-filename is hardcoded.

            So, the only easy way to have a paginated grid is to use a custom-table and a MIGXdb - grid.
            Well i think it's time to learn something new for me e.g. MIGXdb-TV ))
            Thank you for your help. Goodluck to you!