-
Notifications
You must be signed in to change notification settings - Fork 781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selected row page #353
Comments
HI @dana2208, The question is you want to get the pages which contain selected rows, right? |
btw, did you need to know the page which every selected row located? |
Hi, I would like either to get the page numbers
Currently I am working in mode "radio" so I need only one page number, but it is better to support already the "checkbox" mode (multi-selection) so if you implement it, it is better to get an array of the pages. What do you think? |
Hi @dana2208, I guess you want to click the checkbox and get the current page of selected row key for more than one page ? like you have 15 items and you setting the 10 items per page,
is that right ? |
Hi, No, my selection is done externally. |
@dana2208, I understand, maybe like I said, just give you a exposed API for you to get the page of selected row key, I think it should solve this issues. if ok, I'll done it in these day :) |
hi @dana2208, @madeinfree is a new contributor who I found for helping me. Because, I'm busy in these day(always busy...lol). btw, I'll ask him support this feature at next version. Feel free to discuss with him and me 👍 |
@dana2208 Ok, I understand and I will support that feature. @AllenFang Thanks, i will try it. |
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! |
Fixed on |
Hello @AllenFang ,
I have selected a row from an external action by passing the selected array to the
selectedRow
props of theBootstrapTable
.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 theoptions
props of theBootstrapTable
together with the selected array.Thanks
The text was updated successfully, but these errors were encountered: