Hi, I have an Airtable Database with some data that is uploaded and shown within the app (in a Data Viewer List) . Whenever a new entry is added, it shows at the bottom of the Data Viewer list. I need it to show at the top.
Is there any way to reverse all data in airtable? Alternatively, since all the entries are uploaded with Date, is it possible to sort it chronologically, with newest first?
No specific blocks.
You need to get all rows from Airtable then go through the rows to check with row has earliest date to save it in an empty local table.
You need to create the blocks.
Check the Grid View ordering in Airtable which is easier and faster.
I can understand why you would store data in this method especially considering we don’t have date transformation blocks. However, to do what you’re trying to do you’re going to need to store a date object. You need to set one of the fields on your table to be of type date. Then, when you use the airtable API you’ll be able to request your data sorted in a descending fashion or ascending fashion based on the date field.
Once you create a data of type date then you can sort it in the view like this and the DVL will use the Grid View to show it with whatever sort you make it.