page limit with select options not working
See original GitHub issueI’m submitting a … (check one with “x”)
[ *] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here
Current behavior page limit is not working when I bind limit with select option.I want to change page limit according to which limit I select using select option list like 5,10.
Expected behavior I want to bind page limit value with select option list when I change option then page limit also change.It also work with pagination
-
Table version: 0.7.x 2.2.3
-
Angular version: 2.0.x 2.0.0
-
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
- Language: [all | TypeScript X.X | ES6/7 | ES5]
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Select option limit not working - WordPress.org
I was trying out the select option limit feature, but couldn't figure out how to make it work. I tried limiting each 'select'...
Read more >Unable set the limit of visible options in the dropdown of a ...
I have nearly 1000s options in my select dropdown box. I want to limit the visible options to 10. And make the drop-down...
Read more >Advanced - React Select
A flexible and beautiful Select Input control for ReactJS with ... Disable all options that do not have a 'safe' rating, via the...
Read more >Excel Data Validation Tips and Troubleshooting - Contextures
This page has data validation tips, and shows how to fix Excel data validation problems, such as drop down not working, blank selected, ......
Read more >Add a list box or combo box - Microsoft Support
This means that Access will hold the selected value until the user changes it or closes the form, but it will not write...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found my mistake. The problem was with the value binding of select element. when we use
[value]
binding, it only works for strings. As a result page limit was setting the value as a string. On that case, internal first index calculation was working fine, but last index gets undefined, as a result it always showing all results from that page’s first index to the last data item.the solution is to use
[ngValue]
binding. It works for custom objects. SoonPageSizeChange
event is now passed a number value for page size. So everything is working fine.Updated plunkr
@rahuldev761, did you get this working? My team is evaluating this component for our application. Pagination with page size selection is a must for us, so I want to make sure this is working.