Is there a way to display a specific amount from the text from the data table with a more... option?

Is it possible to add some type of “more…” option in a repeating panel? The info is coming directly from my anvil data table. I attached a photo showing what I have and what I’m trying to do.

Sure, this is possible. Are you able to share what you have tried so far, if possible?

One way to do this would be:

  • set a limit to how many characters to display in your text box (e.g., my_string[0:my_limit])
  • add a “see more” link underneath the text box
  • when you click the link, update that item’s text box to show the full string (self.my_text_box.text=my_string)

In terms of having a text box and a link in the same column, you could put them both inside a column panel (and use that column panel as the second column element in the repeating panel), or use a DataGrid for the entire display (so that the column slots are all detectable in the IDE).