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

    Is it possible to make migx items editable through the listview under "template variables" (Grid Columns view) - or do i have do edit every migx item one by one. The idea is to change values quickly without having the need to open every single item.

    Thank you!

    AD
      • 4172
      • 5,888 Posts
      inline - editors are not implemented (yet) in the default - MIGX - grids, but its allways possible to use a custom-grid in MIGX or MIGXdb with column - editors
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 42101
        • 125 Posts
        Hi Bruno,

        thanks for the reply! Could you give me a source link to a sample/tutorial on how to create a custom-grid for column-editors?

        Another noob question about MIGX - as newbie should I use migxdb or migx? It's not clear where are the advantages of eachother...

        thank you!

        AD
        • MIGx saves all values for a given MIGx TV as a JSON string in the usual tmplvar_contentvalues table, where all TV values for a given resource are saved. This can contain a very large JSON string, but for some things it would be more reasonable to use custom tables for storing the values. That's what MIGXdb does; hence the "db" part. Having MIGX access the database directly (rather than simply using the default TV storage mechanism of MODx) also allows it to manage resources or any of the other tables in the database.

          The grid is built up in ExtJS using the grid configuration JSON, so to add editing capabilities to the grid elements would require knowledge of ExtJS and how it is configured with the MIGx JSON strings.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 42101
            • 125 Posts
            ok! Thanks for the description!
              • 40045
              • 534 Posts
              I just tried out the ResourceExplorer extra today and in it's cmp it's possible to edit pagetitle etc directly in the grid...maybe you could borrow something from there @Bruno
                • 4172
                • 5,888 Posts
                Its really not a big deal to add inline-editing, but I didn't need that, yet, for any of my projects.
                Thats the reason its not there, yet.
                  -------------------------------

                  you can buy me a beer, if you like MIGX

                  http://webcmsolutions.de/migx.html

                  Thanks!
                • It can be very helpful to have inline editing in lists.
                  Placing captions in photos in a gallery loaded using multiupload, for example.
                  Otherwise you'll have to trigger the Edit Form on every item when adding descriptions.

                  Looking forward for this.

                    • 46073
                    • 65 Posts
                    any updates on this?
                      • 4172
                      • 5,888 Posts
                      just use the this.textEditor - Cell Editor for this column
                        -------------------------------

                        you can buy me a beer, if you like MIGX

                        http://webcmsolutions.de/migx.html

                        Thanks!