Links must be clicked twice

Links must be clicked twice

brianh781brianh781 Posts: 3Questions: 1Answers: 1

I have a datatable pulling remote content. Everything is loading fine. However, on the last column of each record, I have a button that you click to go to the details for that record. When the table loads the first page of data, all works well. When another page is loaded or the results are filtered (filtered at the server and resent) the button by each record has to be clicked twice. The first time, it's like it's returning false. The second time you click the button, all is good. Any ideas?

This question has an accepted answers - jump to answer

Answers

  • brianh781brianh781 Posts: 3Questions: 1Answers: 1

    Actually, further testing indicates that I can click anywhere on the page, and then click the link and it works. If I don't click somewhere, and click the link first, it doesn't work.

  • brianh781brianh781 Posts: 3Questions: 1Answers: 1
    Answer ✓

    OK. Found it. I have text fields over each column with both the keyup and change event listened for... As I type, the keyup triggers the new data to come in. However, when I click a link, it actually triggers the change event on the text box, and instead of navigating to the details page, it sends another request for data to the server. This can be closed.

This discussion has been closed.