2

我正在使用 jquery-bootgrid 来显示分页数据。有没有办法使用 javascript 根据 data-row-id 更改为给定的 bootgrid 页面?基本上,用户可以单击地图上的标记,我需要引导网格更改为具有匹配数据行 ID 的页面。

4

1 回答 1

0

这有点老了,但是,因为它坐在这里没有答案:

  $(document).on("loaded.rs.jquery.bootgrid", function()
  {
     YourTableName.find(".ClassNameForYourLink").on("click", function(event)
     {
        location.href="PageYouWanttoGoTo";
     }
  }
于 2020-04-27T05:23:36.053 回答