• Resolved Boris

    (@ispacecrusader)


    Hi,
    I’m currently migrating around 130 tables from the old Websimon Tables plugin to TablePress. This is proving a lot of work, because the export to csv from Websimon leaves a lot to be desired. 6-column, 6-row tables often get imported as 1-column, 36-row tables. And since I need the tables and their ID’s in a specific order, deleting one and creating a new one is not an option.
    What would really make this kind of work a lot easier, is if you could select all rows or columns or cells with just one button. Better to select 100 at once then unselect one or two than manually clicking 100 rows.

    My second feature request is the option to set column width (in percentage) per column per table. This was a very handy feature in Websimon! I can ofcourse do this with CSS also, but my client, who is the content manager, cannot.

    I hope you can add these functions. I will make a donation anyway, because it’s such a great plug-in, and you are always quick to respond to support questions. Cheers!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    This sounds like a problem with the CSV import then. Can you maybe send me the CSV file of such a 6×6 table that gets imported as 1×36?

    By the way: Selecting multiple rows/columns is already possible. Just click the first one and then the last one, while holding down the “Shift” key.

    As for the column widths: The best way for that is CSS code, in my opinion, so this is not going to change in the near future. Sorry 🙁

    And thanks for wanting to donate, I really appreciate it!

    Regards,
    Tobias

    Thread Starter Boris

    (@ispacecrusader)

    Hi,
    just made the donation 🙂

    – CSV: sure, where can I send it?
    – widths thru CSS: I understand your idea about that, but you are looking at it from a developer’s perspective. I cannot pre-produce CSS that will allow a content manager to create a table and influence individual column widths. I would need to create custom css for each different table.

    What about this solution: allow each column and each row to be given their own class (like you already have in place for the entire table). That way I could create a set of classes setting width, which would then allow the content manager to influence width by himself simply by adding class “width10” or “width25”.

    Thread Starter Boris

    (@ispacecrusader)

    Oh, and thanks for the tip about the shift-selection, saves me a heap of time!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    please send it by email, the address is in the main plugin file “tablepress.php”.

    Good to hear tha the Shift selection helps!

    About the widths: I might be looking at if from a developer’s perspective, yes, but unfortunately, I haven’t yet seen a solution that is better and more flexible than that “Custom CSS”. Setting widths with extra text fields or CSS class fields is not what I would like to do: Not only does it make the user interface very full and crowded, but it also opens the question of where to stop. Other styling changes would then also need such user interface fields.
    So, the best thing would obviously be for the content guy to never even have to deal with the column widths, in the hope that the automatically determined widths work. In very many support questions about column widths, setting them is actually the wrong thing to do.
    So, instead of going with per-column CSS classes, I recommend (if you really want to create “templates”) to create “Extra CSS classes” for the table element and give these a good standard structure, like tablepress-our-3-column-table or similar. This obviously relies on the hope that your content manager adds similarly structured tables.

    Regards,
    Tobias

    Thread Starter Boris

    (@ispacecrusader)

    Hi Tobias,
    ok, I understand why you don’t want to take that direction. Thanks for thinking along with me though. I’ve sent you an e-mail with one of the csv files where columns/rows are messed up.

    Regards,
    Boris

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Boris,

    thanks for that! I’ll take a look shortly!

    Regards,
    Tobias

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Boris,

    I took a look at the file you sent me now. From what I can see, the reason why it was not imported properly is that there’s a delimiter missing in lines 10 and 11. These rows only contain one ;, while all other lines contain two ;.
    Due to this, the CSV importer could not find a valid delimiter. As soon as I added extra semicolons in these lines, the import worked.
    Now, all this still helped: I found a way to make the import more robust: In the case where no valid delimiter was found, the most probable one is now used, so that the import of this file (even though it’s incorrect) will work in future versions 🙂

    Best wishes,
    Tobias

    Thread Starter Boris

    (@ispacecrusader)

    Hi Tobias,
    crappy export software then 🙂

    Thanks for looking into it, and good to know that it helped to improve your own plugin 🙂

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem! Thanks again for the input!

    Best wishes,
    Tobias

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Feature request: Select all buttons & column width’ is closed to new replies.