Delete Action not firing jquery click() function

QuestionsDelete Action not firing jquery click() function
Jeremy asked 6 years ago

Somehow something has gone wrong with my grid implementation and the delete action no longer works. It isn't even firing the click event for the trashcan icon. If I put a breakpoint on the JS, it breaks in the demo apps, but not in mine. The edit action works fine – everything else works fine. Just no delete. The js code looks the same for my grid as for demos.

<a class="ui-custom-icon ui-icon ui-icon-trash" title="Delete this row" href="javascript:void(0);" onclick="jQuery('#list1').resetSelection(); jQuery('#list1').setSelection('3105'); jQuery('#del_list1').click(); "></a>

Any ideas?

1 Answers
Abu Ghufran answered 6 years ago

Please check debugger console (F12) for possible JS errors and send screenshot.

Your Answer

20 + 6 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?