igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

Grid perPage option: 5 is selected for the count per page when I set the unlisted number to perPage option

Open gdayori opened this issue 8 years ago • 5 comments

Description

5 is selected for the count per page when I set the unlisted number to perPage option.

Steps to reproduce

  1. Set 8 to perPage option and then run the app

Result

5 is selected for the count per page.

Expected result

8 should be added into the list, or nothing should be selected on the list at least. The current spec would confuse users.

gdayori avatar Mar 07 '18 07:03 gdayori

What is "the unlisted number"?

kdinev avatar Mar 07 '18 08:03 kdinev

listednumber

gdayori avatar Mar 12 '18 00:03 gdayori

The default template is with a select which lists preset perPage values. You can modify the template and provide any type of input, which can be filled with values other than the predefined ones in the default template.

kdinev avatar Mar 16 '18 12:03 kdinev

There is an example of templating the paging UI at the Data Grid Paging topic

hanastasov avatar Mar 27 '18 09:03 hanastasov

@kdinev @hanastasov Thank you for the update. I think templating the paging UI is enough for the solution.

gdayori avatar Mar 27 '18 09:03 gdayori