Title: Setting default
Last modified: August 24, 2016

---

# Setting default

 *  Resolved [Tim Thee](https://wordpress.org/support/users/timotheebesse/)
 * (@timotheebesse)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/setting-default/)
 * Hello,
 * The new default settings options is very promising, but I can’t get it to work.
   I went to the igsv settings page and saved settings to reset it, it showed the
   default igsv-tables class and the default setting to mask the csv/pdf/.. buttons,
   but I can’t add any other setting.
 * When I erase the cell and click on the save button the page reloads with all 
   options blank and the button disappears. I believe it’s a escape bug but I can’t
   get it to work
 * I tried :
    {“dom”:”TC<‘clear’>lfrtip”, “searching”:false} {“dom”:”TC<‘clear’>
   lfrtip”, “searching”:”false”} {“dom”:”TC<‘clear’>lfrtip”, “paging”:false} {“searching”:
   false, “ordering”:false}
 * Only the {“dom”:”TC<‘clear’>lfrtip”} alone works
 * I can disable paging and searching in each shortcode though, but the use of default
   options would be great !
 * Thanks !
 * [https://wordpress.org/plugins/inline-google-spreadsheet-viewer/](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/setting-default/#post-6033782)
 * You’re right, I was accidentally treating the passed JSON as a string, not an
   object, in the DataTables initialization routine. Try updating to 0.9.1.1 (released
   just now) and let me know if the issue persists.
 *  Thread Starter [Tim Thee](https://wordpress.org/support/users/timotheebesse/)
 * (@timotheebesse)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/setting-default/#post-6033849)
 * Thanks !
 * It works but I can’t figure out how to write the order option array : %5B%5B 
   2, “desc” %5D%5D doesn’t work here…
 * I’d like to add this ordering by default : “order”: [[ 0, ‘desc’ ]]
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/setting-default/#post-6033864)
 * You don’t need to URL-escape the value here, that’s only to avoid confusing the
   WordPress shortcode parser. So, just use this:
 * `{ "order": [[0, "desc"]] }`

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Setting default’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/inline-google-spreadsheet-viewer.
   svg)
 * [Inline Google Spreadsheet Viewer](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Meitar](https://wordpress.org/support/users/meitar/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/setting-default/#post-6033864)
 * Status: resolved