Title: ds datatable
Last modified: June 24, 2022

---

# ds datatable

 *  Resolved [fatih71](https://wordpress.org/support/users/fatih71/)
 * (@fatih71)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/ds-datatable/)
 * Hello,
 * What does this script mean? Where to use for?
 *     ```
       <script>
           jQuery(document).on('cff-datatable-click', function(evt, index){
               console.log(getField('fieldname1').records[index]);
           });
       </script>
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fds-datatable%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/ds-datatable/#post-15769095)
 * Hello [@fatih71](https://wordpress.org/support/users/fatih71/)
 * You can insert an “HTML Content” field in the form and enter the code as its 
   content attribute.
 * The code you are referring to generates an entry in the browser’s console logs
   by clicking on the DataTable DS cells. The log entry will include the record 
   information corresponding to clicked row.
 * Best regards.

Viewing 1 replies (of 1 total)

The topic ‘ds datatable’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/ds-datatable/#post-15769095)
 * Status: resolved