Questions tagged [pager]
481 questions
4
votes
0 answers
FragmentStatePagerAdapter doesn't call its fragments
I have FragmentStatePagerAdapter in a fragment with pager. Inside pager I have two fragments to switch between them. What is happening is that when I first come to fragment everything is done correctly, but when I go back and return there again then…

user1897290
- 41
- 2
3
votes
2 answers
How to get a page number by row id in jqGrid
After loading a JSON (using loadonce: true) I get a paged grid.
Now, on gridComplete callback I'd like to jump to page that contains a row (specified by ID).
I'm frustrated that there is no solution as far. I've triead a setSelection method, but it…

meff
- 31
- 1
- 4
3
votes
2 answers
How can I display output in a pager after a git command?
I build a script that should be used with git, so that output is sent to a pager after a git command. I would like to do this using Python.
I have a python script that writes to stdout. Now I would like to display its output in the pager the user…

Martin Ueding
- 8,245
- 6
- 46
- 92
3
votes
2 answers
sfPropelPager only generates 5 pages
i'm working on a symfony project and needed to create a paging system for long lists. I used sfPropelPager plugin to generate them. I'm using it this way:
I print all the pages in diferent
tags and only set visible the first. Then whith a…

Andreu Ramos
- 2,858
- 2
- 25
- 36
3
votes
2 answers
Undetermined sort order when using ROW_NUMBER() OVER decimal column with ties
I have a very strange bug with sql server 2008:
To display a pager in a CRUD application details view, I make a sql request to get previous and next record relative to the current, it works well except when ordering on a DECIMAL column, I can reduce…

Guillaume86
- 14,341
- 4
- 53
- 53
3
votes
2 answers
How to set up a different pager and color mode in Mercurial?
I set up Mercurial in .hgrc to use less as a pager together with customized colors and templates following this guide:
[pager]
pager = LESS='FSrX' less
[templates]
# ...
[color]
mode=terminfo
This works very nicely and I'd like to keep this for…

Petr
- 62,528
- 13
- 153
- 317
3
votes
2 answers
2 Pagers on in View - Drupal 6
I am wondering how it would be possible to have a pager at the top and the bottom of my table which I created with Views.

jodm
- 2,607
- 3
- 25
- 40
3
votes
2 answers
ExpressionChangedAfterItHasBeenCheckedError after adding [pageSize] attribute to Kendo grid
Please find attached code and let me know the possible reason for the error i am getting while running the code in Angular CLI.
This error will gone if i remove the [pageSize]="5" but that will not show default page size in dropdown.
Requirement is…

Bh00shan
- 488
- 6
- 20
3
votes
1 answer
react-native ViewPagerAndroid peek property
How to properly use the "peekEnabled" property on ViewPagerAndroid ?
{this.props.children}
I want something like this

Tiziano Munegato
- 869
- 1
- 7
- 21
3
votes
1 answer
How to avoid `Pattern not found` message and screen redraw in `less` (as Git pager)
I just hacked my core.pager to show me more usefull log and diff:
[core]
; diff-so-fancy:
; Seperate files in diff view
; LESS_TERMCAP ... +0 -p ...:
; Highlight merge commits and file beginnings in diff view (but do not
; jump because of…

bimlas
- 2,359
- 1
- 21
- 29
3
votes
1 answer
less-like pager for (swi) prolog
The typical workflow in unix is to use a pipeline of filters ending up with a pager such as less. E.g. (omitting arguments)
grep | sed | awk | less
Now, one of the typical workflows in the swi-prolog's command line is asking it to give the set of…

Alexander Gorshenev
- 2,769
- 18
- 33
3
votes
1 answer
Symfony2 DatagridBundle / SonataNewsBundle Pager nbResults not calculated correctly
I have extended Sonata NewsBundle to include a region for news. This is to show UK visitors UK news, US visitors US news and so on.
Despite the query being used in the Pager object being correct, the nbResults count and page is counting news across…

OK sure
- 2,617
- 16
- 29
3
votes
1 answer
In the MySQL command line, how do you prevent new lines which occur in data values from causing a new line in the console output during a SELECT?
When a new line occurs in a column value, when I do a select statement, the new line is formatted in my console, thereby breaking the table formatting and screwing up the column alignment.
For large tables, I use the following to prevent the…

Harry Lewis
- 488
- 5
- 12
3
votes
4 answers
SlidingTabLayout bottom padding
I am facing the issue that I have a kind of padding in my SlidingTabLayout.
here is the screenshot
so as you see, background comes out of the slider on the bottom. Recently, using pagertabstrip library, I nave not see that, but now I tried the new…

user1908375
- 1,069
- 1
- 14
- 33
3
votes
1 answer
scroll pager extension In Yii2
i am using Yii2 with a scroll pager extension: http://kop.github.io/yii2-scroll-pager/
Here's my code:
echo yii\widgets\ListView::widget([
'dataProvider' => $boards,
'itemView' => 'boards',
'layout' => $template,
'itemOptions' =>…

Faisal Mehmood
- 77
- 6