You must ensure that are columns are provided. In your case, before you assign columns to Page Data, table was trying to access this property, and it’s undefined for that moment.
Also, I should prevent the second mistake that will appear on your way. Try to print table component like below to see how columns list should looks.
I set pagedata-> columns on page entry. how should I set the columns I need before the datatable tries to access it? for that matter how do I set the table I want it to use before the datatable tries to use it?
I set display = false, made updates to the table, then set to visible but I still get nothing on the display.
so I tried just hard coding the table name as a binding which did show my rows (no surprise there )
I have a database table, I want to pull three columns and run a where statement against it and display the results in a table. is the datatable block not the correct way to go about doing this?
after I hard coded the datatable to the database table from the ui table sector I get this.
from this it looks like it I need to send definitions for all the columns in the table. is the correct format to do this to create a list of objects each contained within {} and using , between fields?