question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Selected row page

See original GitHub issue

Hello @AllenFang ,

I have selected a row from an external action by passing the selected array to the selectedRow props of the BootstrapTable. Is there a way I can know in which page is the selected row? I would like to be able to jump to that page when it is selected, either right after the selection or at the same time as it is selected by passing the page in the options props of the BootstrapTable together with the selected array.

Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
dana2208commented, Mar 24, 2016

Hi @madeinfree, welcome as a new contributor and good luck! Yes I am very interested in this feature. Pay attention that page number of the selected item depends on the current sorting and filtering and also the number of rows displayed on each page. Thanks!

0reactions
AllenFangcommented, Mar 26, 2016

Fixed on v2.1.0, check example 😃 Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting selected rows on current page only - DataTables
I am trying to get the rows selected in current page only, but. table.rows( { page: 'current'},{ selected: true } ).data().pluck(0).
Read more >
How do I get the page number of a table's selected row?
Say you have a table like this: This selected row is index=25 in the original dataset: However, it is index=59 in the sorted...
Read more >
Dynamically Select a Row on Any Page in the Grid
Navigate the Grid to the page containing the row. Select the row. Scroll the Grid to the position of the row to ensure...
Read more >
Row selection with controlled pagination #2661 - GitHub
Hi, I have a table with controlled pagination from server and row selection. If a try to set autoResetSelectedRows: true as table option,...
Read more >
R Shiny: How to select a DataTable page based on a selected ...
It seems that for the rows you should filter for the ref number and the page number you should calculate with the help...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found