Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using server side processing which returns some links that need to be ajaxified, thus the requirement for Drupal.attachBehaviors() to run on new rows generated after data is fetched.
Comment | File | Size | Author |
---|---|---|---|
#1 | datatables-attach_behaviors-2101027-1.patch | 2.21 KB | donatasp |
Comments
Comment #1
donatasp CreditAttribution: donatasp commentedHere's a patch that Works for meTM. It sets fnServerData to what I found in datatables version 1.9.4, but adds Drupal.attachBehaviors() in success callback. Is there a better way to do this?
Comment #2
donatasp CreditAttribution: donatasp commentedComment #3
dqdWe are on 7.x 2.x so I would say this issue can be closed for now and reopened with changed code version option if somebody wants to report it for 2.x.