permanent inline checkboxes

permanent inline checkboxes

crush123crush123 Posts: 417Questions: 126Answers: 18

I have read the blog and example page for the above, and managed to get a simple example of my own working.

However, if i change the data source of my json by adding the table name

eg change

Field::inst( 'firstname' ),

to

Field::inst( 'tblname.firstname' ),

as i would need to do when using several tables in the source, I cannot get the checkboxes to display as checked on the table or update when clicked, (though the editor works fine).

I'm guessing its the syntax of the callback and the class names, but I cannot get it to work

http://test2.forthwebsolutions.com/plugins/shop/nametest.php

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Answer ✓

    Hi,

    editor-tblname.active

    is not a valid class name. You would need to use something like editor-tblname_active and update the rest of the code as appropriate.

    Allan

  • crush123crush123 Posts: 417Questions: 126Answers: 18

    Thanks again for your help.

This discussion has been closed.