-
-
Notifications
You must be signed in to change notification settings - Fork 136
Description
Being able to add mouseup event to textareas onRendered.
Hi!
I'm having an issue where table headers are not automatically adjusting upon embedded textareas being resized.
The issue is inherent to DataTables and not specific to this page. So I'm fine with moving this from Issues to a more appropriate place.
I'd like to be able to add a solution like http://live.datatables.net/guhunele/2/edit (where I would put that in onRendered) But it doesn't seem to work. I'm guessing this is because the table isn't fully loaded yet.
http://live.datatables.net/guhunele/9/edit is a similar way of doing it using delegated events (but in the initComplete cb). I've never had luck with initComplete yet.
Anyways, wondering what's the best way to add events to embedded elements once the table's been fully loaded.
Please see https://datatables.net/forums/discussion/comment/202611 for all my findings.
All credit to kthorngren from DT forums