Okay
  Public Ticket #1810072
Creating a table from CSV
Closed

Comments

  • Eric started the conversation

    Hi, I just purchased the wpDataTables plugin, installed it, verified purchase with purchase code, and tried to create a table from a CSV file but the table will not generate.

    I looked at the documentation and followed all the steps.  The columns are importing correctly, and the data and data types all look good, but when I click on the button to create the table, and choose to view in default editor, nothing happens.  Not sure why the table is not being created.

    I tried importing both a csv and an excel file and neither option is letting me generate a table.

    The columns and a data all look good. I just need to be able to generate the table and save it out.

    I can create tables manually without any problems

    I cannot, however, create tables from a csv file.


    I am using Safari 12.0.1

    Thanks

  •  2,498
    Aleksandar replied

    Hello xuamox.

    Thank You for Your purchase.

    Please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.

    Best regards.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •   Eric replied privately
  • Eric replied

    The response times for support are quite slow. Can you please tell me how long it usually takes for you guys to get back to a customer? Thanks.

  •  2,498
    Aleksandar replied

    Hello Eric.

    Sorry for late response. 

    Our company is located in Serbia and our working time is from 10:00 to 17:00 CET. Business days.

    I tried logging in, but it keeps telling me the username isn't valid (see attachment).

    Can You, please, check the credentials again, and I'll take a look at both the CSV issue and the horizontal scrolling bar.

    Thank You.

    Best regards.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •   Eric replied privately
  •  2,498
    Aleksandar replied

    Hello again Eric.

    You weren't able to create a table using "Create a table by importing data...." because one of the columns didn't have a name (it was blank). When I added a name to that column, it created the table without any issues. You can see that new table as [wpdatatable id=10], and You can of course delete it if You don't need it anymore.

    As for the table width when You enable the scroll, wpDataTables uses the parent's width (theme, content, another plugin, etc.). If You were to shrink the page, scroll bar would appear.

    I inserted a line of code under Custom JS and CSS in main Settings of wpDataTables plugin that allows the table to be scrollable on mobiles and tablets, but it doesn't show the scroll bar on desktop.

    @media only screen and (min-width: 400px){
       .wpDataTablesWrapper div.wdtscroll {
         overflow-x: initial !important;
       }
       table.wpDataTable {
       table-layout: fixed !important;
       }
    }

    I cannot, however remove the extra empty space on both sides, because of the issue I mentioned above.

    If You want to remove the custom CSS, just go to the Custom JS and CSS  in main wpDataTables Settings.

    Please let me know if this solution works for You.

    Best regards.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Eric replied

    Hi Aleksandar,

    Is there a way to ensure that the tables take up 100% with of the space available?

    I don't see anything under display settings.

    The current width of the table is 1229, but when I inspect the element, it looks like there is room for it to expand. I don't see any padding on that table element.

    scroll display nowrap data-t data-t wpDataTable dataTable no-footer

    So how can we ensure the table is 100% width?

    Is that possible?


  •  2,498
    Aleksandar replied

    Hello again Eric.

    As I said, the table pulls the width from the parent element. I found the part of the code that can expand it to be wider, but I couldn't find a way to implement it (please look at the attachments).

    You'd need to write a custom line of code that would overwrite this:

    .wpDataTablesWrapper table.scroll {
        width: auto !important;

    Please bear in mind that this is set to auto !important, and if You try to add width: 100% !important it still wouldn't be able to expand the content, because it is fixed to the parent.

    Included support covers help with bugs and general inquiries for the plugin features, but not writing custom code. This would be considered a custom solution, so You're free to "play" around with it until You find a solution.

    Best regards.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables