angular-ui/ui-grid

Page selector with external pagination should not reload page with every keystroke

Open

#2518 aperta il 8 gen 2015

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
help wantedtype: bug

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Version: ui-grid - v3.0.0-RC.18-d9b2314 - 2015-01-06

screen shot 2015-01-08 at 1 41 01 pm

I have useExternalPagination set to true. With the current implementation, if I want to go to page 123, when I input 2 after 1, the page 12 is loaded, and then I can type in 3, which loads page 123.

I also have difficulty in loading page 23 directly, because I cannot just delete 1 and then put in 23 without triggering page reload. I have to go through reloading of page 1, 12, 2, and 23 to get to page 23.

Basically the problem is that the page should not be reloaded with every keystroke.

Guida contributor