Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
im working on a plugin
it uses a html file that includes a controller
using a list $scope.control.ElementList adding a removing element works fine..
and the Ng-repeat uses this ...
in code i have a
$scope.Delete = function () { $scope.control.ElementList.splice(index, 1); }
now after deleting a element the focus on the Grid element is lost ...
How do i keep it in focus ??
Hello Aki,
In .js File you can put that remove function
$scope.Delete = function ($index) { $scope.control.ElementList.splice($index, 1); }
In html File i mean in Ng-repeat
you can pass $index
controllerName.Delete ($index)
Hope this will help,
Ronak Panchal.
yes your right and i already do this.. i need to keep the focus on the grid element i just created.. after i use the save on the page...
Did you ever resolve this? Running into the same issue.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Keep Focus Grid Element
im working on a plugin
it uses a html file that includes a controller
using a list $scope.control.ElementList adding a removing element works fine..
and the Ng-repeat uses this ...
in code i have a
now after deleting a element the focus on the Grid element is lost ...
How do i keep it in focus ??
Hello Aki,
In .js File you can put that remove function
In html File i mean in Ng-repeat
you can pass $index
Hope this will help,
Ronak Panchal.
yes your right and i already do this.. i need to keep the focus on the grid element i just created.. after i use the save on the page...
Did you ever resolve this? Running into the same issue.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.