My button is not showing

Hello, I’m new to Glide and I’ve created a simple check list. Now I want to be able to select one or multiple items and delete them. I added the button, named it Delete, I also added the Template and Relation column in my data table as suggested in this post (Delete selected Row not working) and now my button is gone. It’s just not on my screen although I can still see it as a component and edit it. Any idea why and how I can make it visible?

Thank you in advance!

So you copied the steps given in the solution in the thread that you linked to?

If the button is not visible, that means that either:

  • You have a visibility condition that causes it to be hidden, or
  • You have a condition on the button action that is not met, or
  • The action attached to the button cannot be executed

Please share some screenshots, so we can help you determine which of the above is the problem.

Hi Darren, yes, here are some screenshots. Let me know if there’s anything else I can add.
image
image
image

Your relation is empty, so there is nothing to delete, causing the button to disappear.

For a relation to work, it needs to find exact matches. What does the template column contain for a value?

I think a Query column might be a more modern approach that might serve you better without the need for a template column.

Just noticed this which may be the issue. Try all lowercase letters for the word true.

I would still use a Query column instead though.

I replaced Relation with Query and it works as expected now. Thank you very much!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.