Convert Cogworks.Meganav PropertyEditor to a GridEditor?
Has anyone tried and had any success adding a GridEditor for the Cogworks.Meganav Plugin? I am not up to speed on plugin development but I did figure out how to declare a new GridEditor aimed at the \views\editor.html I can now add the Meganav editor in the grid editor but then it blows up. The error seems to be scope related and coming from angular-ui-tree.js which I guess is a customized version of the ui-tree?
The error is:
$scope.$parentNodesScope.$modelValue.indexOf is not a function on line 63 angular.min.js
Edit/Update:
While those packages are great and make life much easier for many grid opperations, they don't quite accomplish what I needed. Using the Meganav Property in Leblender runs into what I think is the same scope problem as before. Only now it is obscured by a wrapper.
"Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'."
Original:
Thanks for the info Dave. I'll check out Leblender since it seems like it might do what I need.
Convert Cogworks.Meganav PropertyEditor to a GridEditor?
Has anyone tried and had any success adding a GridEditor for the Cogworks.Meganav Plugin? I am not up to speed on plugin development but I did figure out how to declare a new GridEditor aimed at the \views\editor.html I can now add the Meganav editor in the grid editor but then it blows up. The error seems to be scope related and coming from angular-ui-tree.js which I guess is a customized version of the ui-tree?
The error is:
$scope.$parentNodesScope.$modelValue.indexOf is not a function on line 63 angular.min.js
I'm guessing this is related to another thread I read (but didn't completely understand): PropertyEditor as a GridEditor and mediapicker as a prevalue It mentions something about $scope.model vs $scope.control...
Can anyone point me in the right direction for additional reading and understanding?
So far the only modification I have made is to add the following to the package.maniufest
This renders the editor but I guess it is all broken because of the scope errors.
The Editor for each item even opens but on Submit you get the following error: "TypeError: Cannot create property 'id' on string '1 column layout'"
When you try to delete or drag to re-order a nav item it goes back to an indexOf error: TypeError: $scope.$modelValue.indexOf is not a function
When you try to create a new nav Item the error is: TypeError: $scope.items.push is not a function
Thanks in Advance!
Hi ccheln,
The easiest way to re-use normal property editors in the grid is using a package like Doctype Grid Editor or Leblender
Dave
Thanks for the info Dave. I'll check out Leblender since it seems like it might do what I need.
Edit/Update: While those packages are great and make life much easier for many grid opperations, they don't quite accomplish what I needed. Using the Meganav Property in Leblender runs into what I think is the same scope problem as before. Only now it is obscured by a wrapper.
"Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'." Original: Thanks for the info Dave. I'll check out Leblender since it seems like it might do what I need.
is working on a reply...