brunano21 / angular-4-data-table

An Angular 5 data table, with pagination, sorting, expandable rows, row selection, etc. with basic accessibility support.
MIT License
11 stars 19 forks source link

Setting custom [limit] makes limit select box default to empty #21

Closed esiva closed 6 years ago

esiva commented 6 years ago

if I set [limit]="5" then the limit select box at the bottom defaulted to empty, however it has values like 10, 25, 50, 100 and 250. It would be nice if the value set in [limit] is included in the limit select box and selected as default value

screenshot from 2018-04-24 16-44-43

brunano21 commented 6 years ago

Hi, I'm planning this feature in the next release...I hope before the end of this week.

brunano21 commented 6 years ago

Hi. I have fixed this within last release, v.1.0.0. Can you try it again, please?

I have also added a proper documentation. Please, have a read. Thank you.

esiva commented 6 years ago

Awesome! It works nicely. Thanks.