Trigering click on row when pagination is turned on
Trigering click on row when pagination is turned on
I have a script that is supposed to trigger click on specific row according to GET param.
This works perfectly when I have no pagination. However when I turn pagination on, is there a way to:
1. *find the row based on row attribute*
2. *go to page where row is located*
3. trigger click on that row
This works perfectly when I have no pagination. However when I turn pagination on, is there a way to:
1. *find the row based on row attribute*
2. *go to page where row is located*
3. trigger click on that row
This discussion has been closed.
Replies
1. fnGetNodes() will give you an array of nodes which you can loop over and check for the attribute (jQuery can make this a one liner)
2. There is a plug-in which will help with that: http://datatables.net/plug-ins/api#fnDisplayRow
3. $(row).click();
Allan