ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Pagination Display Problem.

Open debayan31 opened this issue 11 years ago • 4 comments

If I compare pagination looks of Angular Grid with Kendo Grid then Kendo looks much professional in that case. So can we able to change Angular Grid display property?

pagination

debayan31 avatar Apr 21 '15 06:04 debayan31

No, the grid does what it does, unless someone wants to submit a pull request with different look and feel. You can replace the pagination directive and/or template, which may give you what you're looking for, but it would be complex to do so.

PaulL1 avatar Apr 21 '15 06:04 PaulL1

If I make changes inside $templateCache.put('ui-grid/pagination',...) , it will also serve my purpose.Right Paul.

debayan31 avatar Apr 21 '15 06:04 debayan31

I have written below code for pagination :

code

Function ::

getTotalPagesArray: function (pageSize) {

              var arrayPage = new Array();
              for(var i=0 ; i < pageSize; i++){
                  var newElement = {};
                  newElement['id'] = i+1;
                  arrayPage.push(newElement); 
              }
              return arrayPage;
            };

But whenever I am going to a page through pagination the page content is loading for a while and then coming to 1st page.

I think some scope issue is happening here.Kindly have a look and help.

pagination

debayan31 avatar Apr 21 '15 13:04 debayan31

Hi PauL,

It is now working fine .So I am cosing this issue.

debayan31 avatar May 04 '15 11:05 debayan31