lampamp
Forum Replies Created
-
Forum: Plugins
In reply to: [Inline Google Spreadsheet Viewer] Passing arrays not workingGreat, now the array is being passed, but there seems to be another problem in which target columns are not being recognized.
I’ve simplified the code to add a classname “never” to the target column 1 as follows
[gdoc key="https://docs.google.com/spreadsheets/d/TABLE" datatables_column_defs='%5B{"targets":1, "className": "never"}%5D']when I look at the results, the targets columns aren’t recognized (columns aren’t affected at all) and the option has been applied in a strange way to the whole table
here’s what I mean, see “targets” and “className” as interpreted as strings (i think) rather than being applied to column 1:
<pre><code><table id="igsv-TABLE" class="igsv-table" lang="en-US" summary="Google Spreadsheet" title="" style="" data-column-defs='[{<code class="js string">"targets"</code><code class="js plain">:1, "</code><code class="js plain">className": </code><code class="js string">"never"</code>}]' ><thead>Sorry for asking a lot, I’ve been trying to solve it for hours :/
Forum: Plugins
In reply to: [Inline Google Spreadsheet Viewer] Passing arrays not workingChanged that, still no luck
[gdoc key="tablekeyhere" datatables_column_defs='%5B{"targets":-1,"data":null,"orderable":false,"className":'details-control',"defaultContent":''}%5D']am I passing the array correctly?