SAVE BUTTON = Reset Table Content
-
Hi,
I’m looking for a nice table tool like yours and tried to test it.
Unfortunately when pasting content and hit the save button the table resets to a blank default table.Import of CSV fails with just a wired message.
[object Object] at a box and “Doing calculations, please wait..” at a grey screen nothing happens….
Any help?
Cheers
Joerg
-
I thought that the issue was fixed already? But it looks like it is not? Deactivating and activating does not help me either. The plugin is way the most promising one that I found so hopefully this will be solved!?
Well somehow I made it to save my table – first I needed to publish it – then I could enter my data and then saving the table worked.
Hey Joerg,
Wow I almost had a heart attack. I was sure i had fixed this problem π
So it works now? That’s weird how you had to publish first, it should do that. Did you update to wordpress 4.7? I haven’t done any testing on that version yet due to school and work taking up most of my time but maybe that had something to do with it? I’ll take a look at this today, I have a few other bugs to fix and also I’m working on formulas so I want to get that out soon too. I’ll add this to the things I need to look at / fix.
Also I have one more request, Do you mind checking the console log to see if there is an error with loading in script files? The CSV import has nothing to do with the saving part of the plugin, so it makes me wonder whether or not the plugin was able to load fully or not. The [object object] is a sign that the conversion process didn’t work properly. Maybe the parser script didn’t load?
You can check out the console by going to developer tools (f12 in most browsers or right click on the page and select inspect) you will see a console tab with various output from your website. If you see any 404 errors, let me know because this means the scripts weren’t loaded in.
If you run into anymore issues, let me know and I will do my best to help out π
Thanks
JohnHi John,
yes I’m already on WP 4.7.
And when creating a new table, I first have to publish it before it accepts any changes in the cell values.
I also have an issue with assigning borders. It is not working as expected and is taking not all borders or even get stuck with βDoing calculations, please wait..β
The color picker is not displaying entirely I can hardly see the HEX color box to enter the corresponding HEX value.
I’m getting the following errors:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (jqColorPicker.js.map, line 0)
When I do the import there is no output π !? at the console so nothing to share!
I also tried to do an import after publishing but that fails also…Please let me know if I can do, test or look for additional data you require…
Cheers
Joerg-
This reply was modified 9 years, 5 months ago by
YogieAnamCara.
Just to let you know I’m running the Version: 4.0.2.1 of JTRT Table.
But I found that the import seems to fail as my CSV had the following formatting:
"Value","Value","Value","Value","Value","Value"when I changed it to
Value, Value, Value, Value, Value, Value, Valuethe import worked.
However the German umlauts are shown as
οΏ½and not as expected!When I try to assign borders (marked the entire table and tried to add all borders via the border icon)
I’m getting this error:
[Error] TypeError: undefined is not an object (evaluating 'l.view') p (handsontable.full.min.js:36:30141) g (handsontable.full.min.js:36:30309) w (handsontable.full.min.js:36:30875) (anonyme Funktion) (handsontable.full.min.js:37:1996) run (handsontable.full.min.js:34:11868) (anonyme Funktion) (jtrt-responsive-tables-class.js:575)One of my posts here is not showing for any reason so I try it again:
Just to let you know I’m running the Version: 4.0.2.1 of JTRT Table.I found the import issue my CSV was formatted as follows:
\”Value\”,\”Value”,\”Value\”,\”Value\”,\”Value\”,\”Value\”
when I changed it to simply
Value, Value, Value, Value, Value, Value, Value
the import worked.
However the German umlauts and also special chars like the EURO sign
β¬are shown asοΏ½and not as expected!Oh and the table/post preview is also not working for me…
Hey Joerg,
“I also have an issue with assigning borders. It is not working as expected and is taking not all borders or even get stuck with βDoing calculations, please wait..β”
Hmmm, this is interesting thanks for bringing this up. Does the right click -> borders method work? Can you try right clicking a cell, setting a border and then saving the table? I feel like I saw this as an issue brought up on handsontable github, i’ll try and see if I can find a fix for it.
“The color picker is not displaying entirely I can hardly see the HEX color box to enter the corresponding HEX value.
Iβm getting the following errors:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (jqColorPicker.js.map, line 0)”
Yes the colorpicker is not loading in properly. Maybe another plugin is interfering with mine, if they already tried to load the same file globally or something? Do you have any plugins active that you think may be effecting my plugin? I’ll try to reproduce this issue but I havent come across this yet, it may be a singular issue.
But I found that the import seems to fail as my CSV had the following formatting:
I’ll have to try this out, I haven’t tried using “” around values for csv, but I can see how it may cause an issue, if the first letter/char is a “, it might be escaping out of the json file :/ Thanks for bringing this to my attention, I will add this to the list of things I need to fix π
However the German umlauts are shown as οΏ½ and not as expected!
Yeah, the rendered doesn’t know about extra characters from other languages. Since I don’t speak other languages i’m not really sure how I would account for these extra characters. My keyboard/computer only supports english. Maybe there is a encoding method for strings, I’ll research this and get back to you.
Oh and the table/post preview is also not working for meβ¦
You can only use the shortcode to see the table. Each table is a custom post type but it does not have post/page abilities/functions. The way to see/test tables would be to insert the shortcode on a page or post. I will hide that button so it doesn’t confuse users. Thanks for the feedback.
π I hope this helps, if you have any other questions or issues i’d love to hear em. I’m working on another update which will introduce formulas(hopefully) and a handful of bug fixes.
Thanks again for the suggestions and feedback, I will do my best to fix these issues up asap.
JohnOh and as for the saving, I’m not sure what’s happening. In your console, try clicking the “preserve Log” checkbox and see if you can see any errors when you save. When you preserve the log it should save the errors in there so it doesnt disappear when the page reloads after saving. This im guessing will point me in the right direction.
Thanks
JohnHey John!
Borders:
The right click -> borders method works and not π at least not as expected, even it shows a checkmark of all four borders, the border itself is not showing at the table. When selecting the entire table the border looks like being displayed randomly.Color Picker:
I do have a lot of plugins that use color pickers and also my theme does!Preview:
In regards to the preview, I understand this, however there are two occurrences where a preview is offered, first of all a link appears after saving on top of the page and secondly at the right menu where it says save and preview. A solution to this may be that you create a page in draft status that you can use to render the preview to? I do have a form solution that is using this approach to render the form preview.No matter what I try and I’m not very familiar with the developer console of Safari (macOS) to store all protocols (right click says store protocol) but even with that nothing more than the already known color picker error is showing.
Sorry
Joerg-
This reply was modified 9 years, 5 months ago by
YogieAnamCara.
Well on Firefox I’m getting this info, not knowing if this is a valuable information to you, when I save the table (not being published before)…
Form contains a file input, but is missing method=POST and enctype=multipart/form-data on the form. The file will not be sent. 1 post.phpOK when I try to assign the borders (via the icon on the menu) I’m getting this in FF:
23:28:11.126 TypeError: l is undefined 1 handsontable.full.min.js:36:30137 [90]</p https://xxx/wp-content/plugins/jtrt-responsive-tables/admin/js/vendor/handsontable.full.min.js:36:30137 [90]</g https://xxx/wp-content/plugins/jtrt-responsive-tables/admin/js/vendor/handsontable.full.min.js:36:30307 [90]</w https://xxx/wp-content/plugins/jtrt-responsive-tables/admin/js/vendor/handsontable.full.min.js:36:30873 [90]</< https://xxx/wp-content/plugins/jtrt-responsive-tables/admin/js/vendor/handsontable.full.min.js:37:1989 [60]</<.run https://xxx/wp-content/plugins/jtrt-responsive-tables/admin/js/vendor/handsontable.full.min.js:34:11858 [26]</E.Core/this.runHooks https://xxx/wp-content/plugins/jtrt-responsive-tables/admin/js/vendor/handsontable.full.min.js:31:5930 JTrtEditor.prototype.editCellText/< https://xxx/wp-content/plugins/jtrt-responsive-tables/admin/js/vendor/jtrt-responsive-tables-class.js:575:18Similar or same error occur when trying to use the right-click border assign option!
-
This reply was modified 9 years, 5 months ago by
YogieAnamCara.
Hey Joerge,
Thank you for the detailed and through feedback provided. This helps me a lot. I can see the problem with the borders, its the runHooks(‘afterInit’) call messing things up. I will have to check this out closer, however while trying to reproduce the problem I found out the following method seems to fix things up:
- right click a cell
- Apply border from context menu
- border seems like it doesnt apply Its ok
- save/update/publish table
- when the page reloads the border should show
This is going to be something I’m going to look into further, thank you for bringing it to my attention.
Form contains a file input, but is missing method=POST and enctype=multipart/form-data on the form. The file will not be sent. 1 post.php
This helps, although its my first time seeing this error I immediately know the culprit. the CSV input box. “The file will not be sent. 1 post.php” basically is saying, we’re not sending any content to the server which is why the data isn’t saving. Thank you for this debug information, I will get to work on this asap.
As for the colorpicker, I will have to rethink my color picker script I guess. WordPress has its own colorpicker, but when I tried to use it, it just wouldn’t work/style the way I wanted it. Now that the plugin update is out and the saving issue has been minimized, I have more time to go back and take a look at all these options because honestly I rushed through the entire update.
As for the previews,
A solution to this may be that you create a page in draft status that you can use to render the preview to?
Brilliant, I will include this in an update π This is wonderful man thank you for all the suggestions!
I have school + work during the weekdays but in the weekend is where I can get some quality work done so I’m going to say sometime on Sunday is when I’ll have an update ready with fixes to these silly mistakes I hope.
Thanks again for all the feedback and suggestions I really do appreciate it!
JohnHey John,
Cool and fair enough that I can be handy to you. I love your responsiveness and willingness to sort out the issues and add a few features I requested.
In regards to the borders I’ll try this, but as I like to show the entire table with borders, it is somehow cumbersome to do this on each cell π
So no worries thanks and good luck π
Cheers
Joerg -
This reply was modified 9 years, 5 months ago by
The topic ‘SAVE BUTTON = Reset Table Content’ is closed to new replies.