Strange issue with fnRender/fnRowcallback
Strange issue with fnRender/fnRowcallback
DaveGYNWA
Posts: 10Questions: 0Answers: 0
Hi all,
Working on integrating datatables (best jquery plugin I've come across) into an existing application, and trying to take advantage of fnRender and fnRowcallback to activate some icons in the first column of a table...these icons will then ultimately be linked to some ajax calls to perform actions.
I've created sample code at http://jsbin.com/uwivor/4/edit for review.
Basically....load up the page, and click one of the icons in the first column. Perfect - the result is an alert box with the action to be performed.
Now it gets strange....type w into the search box, then click the icons again -> 2 alerts
type wo into the search box, then click the icons again -> 3 alerts
and so on....
Clearing the search box out doesn't return it back to normal (1 alert) either.
Been battling this one all day today, and I am stumped - would really appreciate any guidance on this one.
Working on integrating datatables (best jquery plugin I've come across) into an existing application, and trying to take advantage of fnRender and fnRowcallback to activate some icons in the first column of a table...these icons will then ultimately be linked to some ajax calls to perform actions.
I've created sample code at http://jsbin.com/uwivor/4/edit for review.
Basically....load up the page, and click one of the icons in the first column. Perfect - the result is an alert box with the action to be performed.
Now it gets strange....type w into the search box, then click the icons again -> 2 alerts
type wo into the search box, then click the icons again -> 3 alerts
and so on....
Clearing the search box out doesn't return it back to normal (1 alert) either.
Been battling this one all day today, and I am stumped - would really appreciate any guidance on this one.
This discussion has been closed.
Replies
http://jsbin.com/uwivor/5/edit