I managed to implement a CMP by copying the excellent Doodles sample application.
Everything works, except for the context menu for updating/deleting entries in the grid.
The in-place editing of properties in the grid works fine, so does inserting new entries.
However, if I right click on an entry in the grid no menu pops up (it does in the Doodles app with options for updating or deleting the specific Doodle).
I’ve looked at my code and it’s basically identical to the Doodles code (doodles.grid.js).
I’m by no means a ExtJS expert so a pointer as to where this specific functionality is triggered would be greatly appreciated!!
MODx Revolution / MAMP / OS X
Hello
You should use modExtra instead of Doodles, it’s more recent than Doodles and you can use it directly as a starter point for your 3PC (creates a table Items in the database, creates the CMP, allow to add/update/remove via windows, etc...)
Hope this helps
Cheers
Thanks for that!
I’ll give it a try...
Cheers
MODx Revolution / MAMP / OS X