Can I create a new data display page by clicking on a name from a data table?

The app that I want to create needs to display only the name of each entry within the data table (on my home page) and allow the user to click on the name and that will take the user to another page that will display the remaining data of that entry. Is that possible with codeless and how do I build that function?

Consider the following data that I use in the example below:

In my demo, I will render a list of city names in the first page. Each name is a clickable link that opens up the secondary page with city details.

The process of getting it done consists of the following steps:

  1. Create a repeater on your home page. It will look like this:

  2. The repeater will contain the Link component that will render the name of the entry.

  3. The Link component’s Text Logic should have data binding for the property name it will render, In the example below the name of the property is Name because that’s the name of the column in my table:
    UI Builder - ConsoleDemo - Backendless 2023-08-29 13-51-23

  4. The On Click event for the link has the following logic. It navigates to a page with details and passes the ID of the object for which to show the details:

  5. The On Page Enter event for the home page has the following logic. It loads data from the database and sets it to the repeater:

  6. Create the secondary page. Add the component to render data. In my case, there are three properties of the selected City to display: Name, Country, Population:

  7. For each text field assign data binding. For example, the data binding for the text component to display city name looks like this:

  8. Add the logic to the On Page Enter event for the secondary page. The logic takes the parameter passed from the home page and retrieves the data:

Final result:

Hope this helps.


1 Like

Thank you so much! I will try this!