Recent Editable Data Webinar question

art_in_sky
art_in_sky Contributor

@DanHendriksen

Recently, I attended the Domo Hands-On Editable Data Webinar.
Can anyone help me with the following question from the webinar?

The second app was described as editable, allowing the approval status to be set and the priority to be changed. However, after submitting, the responses disappear and are no longer visible in the app. Is there a way to make the fields remain editable after submission while updating the dataset, instead of creating redundant rows for each submission?

Tagged:

Comments

  • DanHendriksen
    DanHendriksen Domo Employee

    Yeah, totally. If I recall, in the example we set it up with a filter. It filters out the ones that have had the action taken on them. You could remove that filter from the query. There's also a section in the code that handles whether a row "isEditable". I believe in the example we set that to true, so they are all editable. You would just need to remove the filter from the query.

  • art_in_sky
    art_in_sky Contributor

    @DanHendriksen Thank you!

  • DanHendriksen
    DanHendriksen Domo Employee

    I just pulled up the code that I think is what I used in the webinar?

    In the app.js file, line 54 has the filter. If you comment out line 54 and line 57, and uncomment line 56, that should get rid of the filter.

  • DanHendriksen
    DanHendriksen Domo Employee

    Lines 145 and 146 are where the "isEditable" can be configured to be dynamic, or set to true/false.

    Please let me know if you get stuck or have any further questions.

  • art_in_sky
    art_in_sky Contributor

    Noted, Thank you!