I'm using a jquery-bootgrid to display paged data. Is there a way to use javascript to change to a given bootgrid page based on data-row-id? Basically the user can click on a marker on a map and I need the bootgrid to change to the page with the matching data-row-id.
Asked
Active
Viewed 338 times
2
-
`$('[data-row-id="your_id"]').doSomething();//...` – chiliNUT Jun 07 '15 at 19:22
-
1It's the doSomething bit I need. How do I get the bootgrid to change the the page that contains the "your_id" – Paul Cooper Jun 07 '15 at 19:32
1 Answers
0
This is a bit old, but, since it is sitting here unanswered:
$(document).on("loaded.rs.jquery.bootgrid", function()
{
YourTableName.find(".ClassNameForYourLink").on("click", function(event)
{
location.href="PageYouWanttoGoTo";
}
}

RationalRabbit
- 1,037
- 13
- 20