Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not turn off paging #50

Open
jadrake75 opened this issue Aug 15, 2015 · 1 comment
Open

Can not turn off paging #50

jadrake75 opened this issue Aug 15, 2015 · 1 comment

Comments

@jadrake75
Copy link

Paging appears to be set even when using pageable="false" on the element. However this is a string yet the code in grid.js assumes a Boolean. Such that

if (this.pageable && !this.serverPaging) tempData = this.applyPage(tempData);

will evalulate to true along with the if.bind statement if you specify the pageable parameter. You need to either convert the pageable to be string based or use a different parameter for input vs. bind - see my image below of my app (I am using my own paging toolbar to control content which is why I want it off)

image

With pageable="false" in the HTML with your grid (this is a different mode where I was hoping to show the grid)

image

@charlespockert
Copy link
Owner

I believe that if you make it pagable.bind="false" it works correctly (but it might legitimately be a bug!)

I recall Rob Eisenberg or someone in the gitter chan mentioned something about strong type support for @bindables - I was hoping that would take care of this particular issue as if you don't use .bind the true/false value is interpreted as a string

Not heard anything since though so I may have to address this as you've suggested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants