Is it possible to display a table as a page

Hi Guys
I was wondering I am planning to make the feedback form as shown in the tutorial. I was wondering in any way is it possible to show the data in the table that is collected on the feedback form on my actual anvil app as like a page?

Hello,

Have you seen the DataGrid documentation?

If I am misunderstanding the question, please provide more detail.

You have the question correct.
I have one query about the table. I am following a tutorial in Anvil that shows me to set up search in tables. I am trying to do this but I keep getting an error

The error I get is:
Warning: Form1 has a method or attribute ā€˜search’ and a component called ā€˜search’. The method or attribute will be inaccessible. This is probably not what you want.

My source code can be viewed at:
https://anvil.works/build#clone:USHL5AO6HDQM4P7S=54Z6RU2PGZATRDFFINPCLPC5

I am referring to the tutorial:
https://anvil.works/learn/tutorials/data-grids/searching

1 Like

I’m not in front of a computer now, but I’m guessing you have both a component (for example a text box) called search and a method of the form called def search(...

I believe I do, but I’m not sure why it’s not working

If self.search is a text box, then you can use self.search.text to get its text, but can’t call self.search() because the interpreter would think you want to execute a text box :slight_smile:.

That’s why the warning message says ā€œthe method or attribute will be inaccessibleā€.

You should change the name of one or the other. For example you could call the text box search_terms.

1 Like