Otherwise maybe checkout the /umbraco/js/umbraco.controllers.js to see how they do it in there. I have examples but I'm on the train right now. Tweet me on @davidpeckuk if you're still stuck on Monday.
So this is what I used recently. It won't be perfect but had no issues. For some context, it allowed you to pick reuseable widget/block/do-dars to place in a sidebar.
I need to customize the grid layout like these things please help to me
1) row an incons menu is displayed. Only the "delete" icon must be diplayed, not a configuration icon.
2) When i select a content after "Add content", the content is inserted and it allows to add mor content into that grid item. The system must allow only one content for each grid item.
Well I'm not sure you can do #1 with the grid. You will likely have to live with it or use nested content instead.
And #2 you can select which grid editors ate allowed for each column in the grid configuration, but I don't think you can say "if the 1st isan X then don't allow any Ys" if that is what you're saying?
Custom grid with custom node picker
Hi all,
I need one help for custom grid with node picker, I need to select specified parent document type and child type
If you don't know what you're doing with Angluar (and the umbraco docs on this are rubbish) then check out LeBlender to save yourself some pain. https://our.umbraco.org/projects/backoffice-extensions/leblender/
Otherwise maybe checkout the /umbraco/js/umbraco.controllers.js to see how they do it in there. I have examples but I'm on the train right now. Tweet me on @davidpeckuk if you're still stuck on Monday.
So this is what I used recently. It won't be perfect but had no issues. For some context, it allowed you to pick reuseable widget/block/do-dars to place in a sidebar.
Render (cshtml):
View (html):
Controller (JS):
See also: https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/71864-render-pages-from-multinode-tree-picker-in-grid-view
Hi,
I need to customize the grid layout like these things please help to me
1) row an incons menu is displayed. Only the "delete" icon must be diplayed, not a configuration icon.
2) When i select a content after "Add content", the content is inserted and it allows to add mor content into that grid item. The system must allow only one content for each grid item.
Well I'm not sure you can do #1 with the grid. You will likely have to live with it or use nested content instead.
And #2 you can select which grid editors ate allowed for each column in the grid configuration, but I don't think you can say "if the 1st isan X then don't allow any Ys" if that is what you're saying?
is working on a reply...