Title: Request: Auto Table Import Extension &#8211; Allow Javascript
Last modified: April 3, 2020

---

# Request: Auto Table Import Extension – Allow Javascript

 *  Resolved [Rick](https://wordpress.org/support/users/rferrall/)
 * (@rferrall)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/)
 * I apologize if this isn’t the right location, but seemed the best option.
 * The Automatic Periodic Table Import extension, it does not import the onclick
   part of a link or button. Specifically, something like this:
 * `<input type="button" value="rate" onclick="window.open('https://someurl.com','
   _blank', 'toolbar=no,scrollbars=1,resizable=yes,top=100,left=100,width=450,height
   =300');">`
    It’s just missing when auto-imported, but shows up when importing
   the same file manually.
 * If possible to do this, it would probably be useful to some people to have this
   functionality.
 * Thanks.

Viewing 9 replies - 31 through 39 (of 39 total)

[←](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/page/2/?output_format=md)
[1](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/?output_format=md)
[2](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/page/2/?output_format=md)
3

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years ago](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/page/3/#post-12888467)
 * Hi,
 * good to hear that you found the path! 🙂
 * Yes, I think that an empty file would lead to a failed import.
    I think the best
   solution here should be for your script to not write an empty file to the server,
   but to only update the CSV file on the server if it is not empty then.
 * Regards,
    Tobias
 *  [pampam95](https://wordpress.org/support/users/pampam95/)
 * (@pampam95)
 * [6 years ago](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/page/3/#post-12904080)
 * Hi Tobias, I solved my trouble in my script by adding a row if the csv is empty,
   something like “No teams for this method” 🙂
 * I have technical questions, I told you I added a table in a table to display 
   additional informations on each row.
 * ==>This solution requires me to create as many tables as team beforehand for 
   each method…
 * To give you an idea, I have 200 teams, and 8 methods, so I need 1600 tables on
   my ftp, but do not worry, all theses tables will be not display at the same time.
 * On my main page, I have 8 main tables, one for each method, I will have around
   10 or 20 rows for each table (each row will correspond to a team).
    Each main
   table will contain an additionnal column called “TEAM TABLE ID” with the shortcode
   of each team for one method. I will not display this column but I will add it
   as row details.
 * I hope you follow me on these explanations ahah
 * This solution will require a lot of work but I will only have to do it once and
   I will have the features that I want, so… here are my questions ^^
 * -I saw that I could import several table on a zip but can I import 1600 tables
   in one shot ?
 * -Is it a trouble to have so many arrays on my ftp ? each tables weigh only 1 
   Ko (as I said previously, I will have maximum 200 tables on the same time on 
   my main page (8 main tables, one per method, and 192 under tables).
 * -Do I risk to significantly increase response times on my page ?
 * Sorry for the novel, but I think you have all informations 🙂
 * Regards.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years ago](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/page/3/#post-12904108)
 * Hi,
 * 1600 CSV files on the server is no problem (if you have enough space in your 
   web host contract).
    1600 periodically imported tables will however be a problem.
   I totally don’t recommend that. You might instead have to look for a real database
   solution.
 * Regards,
    Tobias
 *  [pampam95](https://wordpress.org/support/users/pampam95/)
 * (@pampam95)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/page/3/#post-12972052)
 * Hi Tobias,
 * I will need your help for a little bit trouble on this table:
    [https://betseriesmax.com/demo-football/](https://betseriesmax.com/demo-football/)
 * With CSS, for more visibility, I mooved 3 columns of my row details on the right
   side of the table.
 * If you click on “+” to see the row details, you can see that I have a big margin
   that I dont want to display:
    [https://ibb.co/Cs3T4VQ](https://ibb.co/Cs3T4VQ)
 * How can I do to remove <br> that I want without impacting all the <br> ?
    (if
   tomorrow, I want to display 10 columns, I dont want to have the same trouble…)
 * I hope you understood ahah.
 * Thanks for helping.
 * Regards.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/page/3/#post-12972116)
 * Hi,
 * I see what you mean, but to be honest, I have no idea 🙁
 * Regards,
    Tobias
 *  [pampam95](https://wordpress.org/support/users/pampam95/)
 * (@pampam95)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/page/3/#post-12995582)
 * Hi Tobias,
    New question, I have a table, with some highlight rows. Is it possible
   by clicking on a button on my page to display only highlight rows in my table?
   Like this : [https://ibb.co/Syq4D5P](https://ibb.co/Syq4D5P)
 * On this page ?
    [https://betseriesmax.com/demo-football/](https://betseriesmax.com/demo-football/)
 * Thanks for your help.
 * Regards.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/page/3/#post-12996565)
 * Hi,
 * I’m not aware of an existing solution specifically for TablePress here, sorry.
   Your best chance probably is some custom JavaScript, where a click on that button
   e.g. toggle a CSS class that then adds the highlighting colors. You could maybe
   use jQuery for this JS code.
 * Regards,
    Tobias
 *  [pampam95](https://wordpress.org/support/users/pampam95/)
 * (@pampam95)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/page/3/#post-13006491)
 * Hi Tobias, thanks for helping, I will study this, but I need to get fixed on 
   this point because I am already thinking about my updates and functionalities
   that I want to realize.
 * Is this kind of things is possible in Tablepress by using row details or something
   else ?
 * [https://ibb.co/FWx0GbX](https://ibb.co/FWx0GbX)
 * I have all the datas to do this, but i’m looking for a simple way to do it.
    
   I really hope I didn’t reach the limits of Tablepress 🙁
 * Regards.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/page/3/#post-13007623)
 * Hi,
 * you could probably achieve this layout with the Row Details Extension, but you
   will need a lot of custom HTML code then. There’s no existing way to automate
   a layout like that, sorry.
 * Regards,
    Tobias

Viewing 9 replies - 31 through 39 (of 39 total)

[←](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/page/2/?output_format=md)
[1](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/?output_format=md)
[2](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/page/2/?output_format=md)
3

The topic ‘Request: Auto Table Import Extension – Allow Javascript’ is closed to
new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [auto import](https://wordpress.org/support/topic-tag/auto-import/)

 * 39 replies
 * 3 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/request-auto-table-import-extension-allow-javascript/page/3/#post-13007623)
 * Status: resolved