0
Hasan created
6 Answer(s)
-
0
hi
Currently aspnet zero has different tables like Datatables, Jtable, Primeng table. Which library and which version of Aspnet Zero are you using ?
-
0
It was old version
-
0
are you using MVC or angular? if you are using angular which version of angular (angularJS or angular2)?
-
0
AngularJS
-
0
I have got it working.
The Cell Template has to be modified to append dropdown-append-to-body
cellTemplate: '<div class=\"ui-grid-cell-contents\">' + ' <div class="btn-group dropdown" uib-dropdown="" dropdown-append-to-body>' + ' <button class="btn btn-xs btn-primary blue" uib-dropdown-toggle="" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog"></i> ' + app.localize('Actions') + ' <span class="caret"></span></button>' + ' <ul uib-dropdown-menu>' + ' <li><a ng-if="grid.appScope.permissions.impersonation && row.entity.id != grid.appScope.currentUserId" ng-click="grid.appScope.impersonate(row.entity)">' + app.localize('LoginAsThisUser') + '</a></li>' + ' <li><a ng-if="grid.appScope.permissions.edit" ng-click="grid.appScope.editUser(row.entity)">' + app.localize('Edit') + '</a></li>' + ' <li><a ng-if="grid.appScope.permissions.changePermissions" ng-click="grid.appScope.editPermissions(row.entity)">' + app.localize('Permissions') + '</a></li>' + ' <li><a ng-if="grid.appScope.permissions.delete" ng-click="grid.appScope.deleteUser(row.entity)">' + app.localize('Delete') + '</a></li>' + ' </ul>' + ' </div>' + '</div>'
-
0
Thanks @Hasan :)