javascript - Slimscroll not working -
i new slimscroll. working on angular page slimscroll works fine when click on link , go other page scroll stops working main page when refresh page works fine. there thing missing making scrolling disable? thing enabling scroll on page refresh?
<div slimscroll data-height="455" scrolly condition="scrolling_condition">--> <table class="table-grid" cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr data-ng-repeat="item in project.list | filter:project.search:strict | startfrom: (project.pagination.current_page - 1) * project.pagination.items_per_page | limitto: project.pagination.items_per_page" data-ng-show="project.list.length > 0"> <td width="13%">{{item.name}}</td> <td width="16%">{{item.portfolio.name}}</td> <td width="12%" data-ng-if="!project.isclient">{{item.client.name}}</td> <td width="7%" data-ng-if="!project.isclient">{{item.status}}</td> <td width="12%">{{item.installation_type}}</td> <td width="7%">{{item.dc_rating}}</td> <td width="12%">{{item.location.city_state}}</td> <td width="8%">{{item.location.country}}</td> <td width="13%" class="text-center"> <a data-ng-href="#/entity/projects/view/{{item.id}}" class="action-link"> <i class="fa fa-eye fa-lg-icn"></i> <span data-ng-if='$last' infinite-scroll-disabled='max_data_loaded' infinite-scroll="project.loadmore()" infinite-scroll-distance='1' ></span> </a> <a data-ng-href="#/entity/projects/edit/{{item.id}}" class="action-link"> <i class="fa-lg-icn rg-pen"></i> </a> <a href="#" class="action-link" confirmed-click="project.delete({{item.id}})" ng-confirm-click="are sure delete project?"> <i class="fa-lg-icn rg-bin"></i> </a> </td> </tr> <tr data-ng-show="project.requests.list == project.request_state.loading"> <td colspan="6"><div class="main-loading"> </div></td> </tr> <tr data-ng-show="project.requests.list == project.request_state.error"> <td colspan="6"> <div class="error-loading-img"></div> <div class="error-loading-msg text-center">{{errormsg}} <a href="#" data-ng-click="project.loadprojects()">click here reload.</a></div> </td> </tr> <tr data-ng-show="project.requests.list == project.request_state.success && ((project.list | filter:project.search:strict).length == 0 || project.list.length == 0)"> <td colspan="6">no records found.</td> </tr> </tbody> </table> </div>
if scroll inside div , click on url inside on new page scrolling stops.
Comments
Post a Comment