Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

COMBO NOT WORKING #3719


User avatar
0
Hasan created

Dear Team,

Could you please check the below issue?

It was answered before but unable to access the LINK. The Action Button is not working and it is displaying like one below

Please let us know the Solution.


6 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    hi

    Currently aspnet zero has different tables like Datatables, Jtable, Primeng table. Which library and which version of Aspnet Zero are you using ?

  • User Avatar
    0
    Hasan created

    It was old version

  • User Avatar
    0
    alper created
    Support Team

    are you using MVC or angular? if you are using angular which version of angular (angularJS or angular2)?

  • User Avatar
    0
    Hasan created

    AngularJS

  • User Avatar
    0
    Hasan created

    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>'
    
  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @Hasan :)