File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,8 @@ <h3>Angular Data Grid sample using out-of-box Bootstrap styling</h3>
191191 </ div >
192192 < div class ="form-group items-per-page ">
193193 < label for ="itemsOnPageSelect2 "> Items per page:</ label >
194- < select id ="itemsOnPageSelect2 " class ="form-control input-sm " ng-init ="paginationOptions.itemsPerPage = '10' " ng-model ="paginationOptions.itemsPerPage " ng-change ="reloadGrid() ">
194+ < select id ="itemsOnPageSelect2 " class ="form-control input-sm " ng-init ="paginationOptions.itemsPerPage = '10' "
195+ ng-model ="paginationOptions.itemsPerPage " ng-change ="reloadGrid() ">
195196 < option > 10</ option >
196197 < option > 25</ option >
197198 < option > 50</ option >
Original file line number Diff line number Diff line change 2727 $scope . filtered = angular . copy ( $scope . _gridOptions . data ) ;
2828 $scope . paginationOptions = $scope . _gridOptions . pagination ? angular . copy ( $scope . _gridOptions . pagination ) : { } ;
2929 $scope . defaultsPaginationOptions = {
30- itemsPerPage : $scope . paginationOptions . itemsPerPage || 10 ,
30+ itemsPerPage : $scope . paginationOptions . itemsPerPage || '10' ,
3131 currentPage : $scope . paginationOptions . currentPage || 1
3232 } ;
3333 $scope . paginationOptions = angular . copy ( $scope . defaultsPaginationOptions ) ;
Original file line number Diff line number Diff line change 2727 $scope . filtered = angular . copy ( $scope . _gridOptions . data ) ;
2828 $scope . paginationOptions = $scope . _gridOptions . pagination ? angular . copy ( $scope . _gridOptions . pagination ) : { } ;
2929 $scope . defaultsPaginationOptions = {
30- itemsPerPage : $scope . paginationOptions . itemsPerPage || 10 ,
30+ itemsPerPage : $scope . paginationOptions . itemsPerPage || '10' ,
3131 currentPage : $scope . paginationOptions . currentPage || 1
3232 } ;
3333 $scope . paginationOptions = angular . copy ( $scope . defaultsPaginationOptions ) ;
You can’t perform that action at this time.
0 commit comments