Questions tagged [pager]

481 questions
2
votes
1 answer

Drupal pager won't work with "LIKE" in the query

I can't get this to work when using a query with LIKE. Example: $sql = " SELECT DISTINCT u.uid, u.name, u.status, u.created, u.access FROM d_bi_test_2_shared.users u LEFT JOIN d_bi_test_2.users_roles ur ON u.uid = ur.uid WHERE u.uid != 0 AND…
EricP
  • 1,459
  • 6
  • 33
  • 55
2
votes
0 answers

How to prevent less --quit-if-one-screen --no-init +G from filling the screen with empty lines when the file is shorter than the screen?

I use less -XFR +G to page some variations of git log, and all four options are important. The thing I don't like is that it fills the screen with empty lines (marked with ~) when the log/file is shorter than a screen. The issue comes as a…
Enlico
  • 23,259
  • 6
  • 48
  • 102
2
votes
1 answer

Python: Paging of argparse help text?

For a Python script that uses argparse and has a very long argument list, is it possible to make argparse page what it prints to the terminal when calling the script with the -h option?
HelloGoodbye
  • 3,624
  • 8
  • 42
  • 57
2
votes
1 answer

git: Show default / configured pager command

Git allows extensive configuration, with one of the values being core.pager. If this value is not set, Git performs some logic internally to automatically determine what the pager should be. core.pager Text viewer for use by Git…
Zach Riggle
  • 2,975
  • 19
  • 26
2
votes
1 answer

Break JSON in pager "less"

I use the pager called less since 20 years. Time changes and I often look at files containing json. A json dict which is on one line is not easy to read for me. Is there a way to break the json into key-value pairs if you look at the log…
guettli
  • 25,042
  • 81
  • 346
  • 663
2
votes
2 answers

Can't exit a too long list

If a list is generated that is too long for the height of the open Command Prompt window (like this long list of branches), it gets stuck here. It first shows what could fit in the window, then :, and if you press ↓ you will get to the end of the…
PolarisTLX
  • 329
  • 4
  • 18
2
votes
1 answer

Paging in slickGrid

I was able to utilize paging in slickGrid however I am new to jquery and slickGrid and can't get to move in between pages. can anyone help me with this? Any help is greatly appreciated. Thanks! $(document).ready(function() {var columns =…
Anthony Umpad
  • 165
  • 3
  • 11
2
votes
1 answer

in the pager less, how to center the current line on the screen

I am using the pager less. How to center the current line on the screen? I cannot find such a centering command.
FunkyBaby
  • 535
  • 3
  • 12
2
votes
2 answers

Can't get git to automatically pipe diff/log to less (bash on windows)

Basically, I want git diff and git log to pipe to less automatically, so that my prompt isn't cluttered with code. When I run "git diff", for example, I get the following output WarriorPoet@JARVIS: /mnt/c/../Robot_one -> git diff diff --git…
WarriorPoet
  • 41
  • 1
  • 4
2
votes
0 answers

Contact Manager App Crashing

Yeah so basically I set out to make an android app that saves and displays contacts on the phone using SQLite and everything. I am a total newbie at this and have had no formal training in Android Application Developemnt. The contact manager app is…
2
votes
1 answer

tablesorter -- pager_output variables shared across multiple tables

Using the latest jquery / tablesorter / widgets (as of Jan 18, 2016), using the pager widget, set pager_output to anything you want, so long as you include {totalRows}. Create two or more trivial tables with different id's and attach tablesorter to…
Bennett Barouch
  • 125
  • 1
  • 3
  • 10
2
votes
1 answer

jQuery Cycle with defined pager links

I built a player using cycle that cycles through various promos but I want to define the specific descriptive pager links for each page (other than 1,2,3, etc.) I know this should be possible but cannot figure out how... Even when I have added…
2
votes
1 answer

How to style page numbers to not overlap the previous line in custom pager

I am using a custom pager for some data on a website that I am building. The pager works perfectly but the page numbers overlap each other. I am wondering how could I style them to make them look better. Source Code
user4627339
2
votes
3 answers

JQgrid:Get the action from the pager

how can i get the action (what button was clicked) when a button is clicked in the pager?(edit, del, add...)
2
votes
2 answers

Pager View Controller's root view's got different size than subsequent View Controller's

I'm using DMPagerViewController, but I tried used other ones, and they all appear to have similar behaviors. I set up a git to try to understand what's happening: https://github.com/LucasCoelho/DMPager-Example Basically I added twice, from the…
Lucas
  • 6,675
  • 3
  • 25
  • 43