-
- 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
-
- 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
-
- 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.
-
- 125 Posts
ok! Thanks for the description!
-
- 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
-
- 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.
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.
-
- 5,888 Posts
just use the this.textEditor - Cell Editor for this column