Click on a button in datatable column doesn't work everytime
Click on a button in datatable column doesn't work everytime
traroth
Posts: 5Questions: 2Answers: 0
I got a strange issue. I have a datatable with buttons in one of the column. These buttons lead to a detail page for the entry. On the same page as the table, I have filters.
So everything works fine if I click on the buttons immediately after the page is loaded. But if I use the filters, the first click does nothing and I need to click a second time to get to the detail page.
Any idea?
This discussion has been closed.
Answers
http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read#latest
I use a Zend wrapper, so it's hard to post less than some hundreds of lines of code. I will try to post some of the resulting HTML and JS...
I tried to use the debug option and obtained the code uyubez. Is that helping?
It sounds like the click event of the button isn't being rebound after you filter the results, but at some point later. You would need to post some of the code on here for someone in the 'free community support' to have a look though.