Support » Plugin: Inline Google Spreadsheet Viewer » Using datatables_column_defs

  • Resolved Yaara

    (@yaaraher)


    I’m trying to use datatables_column_defs with the following array:
    [ { targets: [0, 1, 2, 3, 4], visible: true} ]
    Taking into consideration URL-encoding, I tried the following:

    datatables_column_defs="%5B %7B targets: %5B0, 1, 2, 3, 4%5D, visible: true %7D %5D
    %5D "

    but it isn’t working.
    Do you have an idea?

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

    (@meitar)

    You must quote JSON strings, like key names. Not targets, but rather "targets". Not visible but "visible".

Viewing 1 replies (of 1 total)
  • The topic ‘Using datatables_column_defs’ is closed to new replies.