• Resolved fatih71

    (@fatih71)


    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 to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @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.