I'm looking at wpDataTables as a possible solution for one of my web projects. However, we need to be able to utilize Excel spreadsheets as a data source and there are quite a few of them. Small sheets really, but many columns, and many sheets. The issue is that with each creation of a table/import wpDataTables changes the data types across the columns and forces me to manually edit EACH AND EVERY column data type. Regardless of how the columns are set in Excel. To say that this is needlessly time consuming is an understatement.
The plugin is guessing the column type based on the data it finds in the cells.
If you have alphanumerical data in the cells, they will be seen as Strings unless the majority of values are in fact numerical, so the plugin sees them as integer or float.
Could you send me one file as an example, so I can see how it behaves on my end?
We are using wordpress function wp_upload_dir() for location of upload files. By default is set to the upload folder (wp-content/uploads). However, you should be able to change that location. On this link you can see how to do that.
As for the column types - I don't see an issue there, string columns are saved as string columns, and numerical columns are saved as Integer. You only need to remove the thousand separator for the years, but that's about it.
I'm looking at wpDataTables as a possible solution for one of my web projects. However, we need to be able to utilize Excel spreadsheets as a data source and there are quite a few of them. Small sheets really, but many columns, and many sheets. The issue is that with each creation of a table/import wpDataTables changes the data types across the columns and forces me to manually edit EACH AND EVERY column data type. Regardless of how the columns are set in Excel. To say that this is needlessly time consuming is an understatement.
Hello Matthew
Thank you for your interest.
The plugin is guessing the column type based on the data it finds in the cells.
If you have alphanumerical data in the cells, they will be seen as Strings unless the majority of values are in fact numerical, so the plugin sees them as integer or float.
Could you send me one file as an example, so I can see how it behaves on my end?
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hi again Matthew
We are using wordpress function wp_upload_dir() for location of upload files. By default is set to the upload folder (wp-content/uploads). However, you should be able to change that location. On this link you can see how to do that.
As for the column types - I don't see an issue there, string columns are saved as string columns, and numerical columns are saved as Integer. You only need to remove the thousand separator for the years, but that's about it.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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