Okay
  Public Ticket #3207725
Pressing Enter submits page, but no update of the cell
Closed

Comments

  •   Urban started the conversation
  •   Urban replied privately
  •  1,850
    Miloš replied


    Hi, Urban

    Sorry for the delay

    - I am not able to reproduce an issue like what you described on my Test Site or on our Sandbox site here.

    https://sandbox.wpdatatables.com/

    If i edit any tables/Manual or SQL,  if i go to the Editing Modal,  add any value to existing rows, and press Enter,    it gives me the successful notification and updates the table

    4233855820.png
    1748598618.png

    If i understood, your table works OK in the back-end,  but just on the front-end  you are getting that strange behaviour when pressing ENTER during editing in the modal?

    -

    Could you give me a bit more details, what table type is this,

    is it perhaps linked to a Gravity Form?

    Would it be possible if you can please record a Video of your screen to show us how this behaviour looks on your end?

    -

    Here is something you could try to check if it is a possible conflict on your site.

    wpDataTables is a WYSIWYG (What You See Is What You Get) concept-based plugin. This means that the table should look the same both in the back-end and in the front-end. If your front-end table looks and behaves differently than in the back-end, this usually implies that there is another plugin (or the current theme) that's changing the behavior of our plugin.

    Can you please change the theme and see if the issue is resolved? If not, then please deactivate all other plugins except for our plugin, refresh the page where the issue is, and see if it is resolved (it should be). If it is, then start activating other plugins one by one, and after each activation refresh the page to see if the issue reoccurred. Once it does reoccur, you will have found the plugin causing the issue.

    Let me know if you isolated a conflict?

    And, if you send us any Video with any confidential data, or screenshots, please mark reply as PRIVATE.

    Thank you


    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    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

  • Urban replied

    Hello Miloš

    I have only this theme  DiviVersion: 4.19.4 

    I made a testinstallation, deactivated and deinstalled all other plugins. wpDataTables is now the only installed plugin. No change:

     

    3514687531.png

    When I write in any of the fields, and click somewhere else, it saves. (The server does it in a table of the WP database)

    When I press [ENTER] just nothing happens.

     

    Would it be possible, that I try to add the part of the JS-script, that does the [ENTER] job? Could you please give me this part of the js-script?

     

    I am programmer and use Postsnippets, and a CCS and JS adding plugin. The table I use with all plugins and setting looks like this, a bit like Excel, but even in our colors:

    1501547722.png

    Behaviour is absolutely the same.

    Best wishes
    Urban


  • Urban replied

    addendum:

    I see in your sandbox, that enter does not work either when inline editing a field - is that en excel-like table feature only?:

    8541876123.png


  •  1,850
    Miloš replied

    Hi, Urban 

    Thank you for pointing out this behaviour,

    i was not aware of it for the in-line editor, to be honest.

    -

    I did some further tests.

    For example,

    1. If i set "multi line edit" as editor type, then in the inline editor ( same as Excel-like and Modal Editor), it goes to new lines when pressing ENTER

    8631893719.png
    1913144928.png


    5169107868.png


    5925340455.png

    - So, this is the current behaviour, for "multi-line Edit", in all Editors it goes to new lines with ENTER;


    or if we set "One Line edit" , 

    ENTER triggers "Submit" in the Modal editor and the Excel-like,

    but only for the In-line editing it has different behaviour; it seems it is expecting to go to new lines, but is not able to , so nothing happens;

    -

    We will check with our QA Team to see if this is the intended behaviour for the in-line editor,

    and i will also check with our 2nd level Team if there is any kind of a workaround we could offer you at this time,

    or if we can share which part of JS you might try to customize for that.

    As soon as they confirm i will report back. Thank you

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    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

  • Urban replied

    Hi Miloš

    great, you understand! Thank you so much! I wait for further information. Perhaps your technicians make this to the intended behaviour;-)

    Have a good time meanwhile

    Best wishes

    Urban

  •  1,850
    Miloš replied

    Hi, Urban 

    We have confirmation on this behaviour.

    Basically, for the Modal Editor,  there were some users who requested us to add the "Save submission/finish editing" on ENTER,  so our developers added that at some point,

    but we did not have users request for adding the same functionality for the in-line Editor yet, so they did not add that yet,  which explains it.

    And the Excel-Like Editor had this behaviour from the start already, so they did not have to "add it there".

    So at this time, we don't have any built-in solution to achieve this, and unfortunately, we don't have any working example to advise you on what you might try to customize to make it work right away,

    but you can suggest it for our developers - and they will do their best to add this function as soon as possible.

    Please feel free to search on our suggestions page

     to see if someone may be already suggested this feature. If you can't see it, feel free to add your suggestion there,  and as more people vote, the feature will move higher on the priority list.

    You can certainly follow our changeLog page if you'd like ( it is also available in the plugin dashboard), where we state any changes/new features/bug fixes during updates;

    and our newsletter, so you're informed about new features, bug fixes, freebies, etc.

    -

    If you have coding skills and wish to try to make a custom solution now,

    you can check out our available hooks for Developers on this documentation and see if you can find any hook that might help.

    Please be advised that custom solutions with hooks are not included in our support.

    You can also research resources such as Stack Overflow to see if any other user perhaps found a workaround.

    ( We do like to give examples for certain solutions, but for this use-case, we, unfortunately, don't have anything yet)

    Let me know if that makes sense and if you have any further questions on the matter.

    And of course - if anything else comes up in the meantime, please don't hesitate to open new tickets for any unrelated questions and we will do our best to answer as quickly as possible.

    Thank you

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    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

  • Urban replied

    Great, Miloš

    thank you so much for the clear and elobarate answer.

    Best wishes

    Urban

  •  1,850
    Miloš replied

    Hi, Urban 

    No problem at all, i am happy to advise.smile.png

    I was also not 100% sure if that was the default behaviour,  but our developers and QA Team explained everything, so i will thank them for that.

    We will do our best to work on adding this functionality for use-cases like yours, to the in-line editor,

    as soon as possible.

    Anything else that we could assist with, please don't hesitate to create new tickets.

    Have a great day!smile.png

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    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