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
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 .
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
.