B4J Tutorial [BANanoWebix] Lesson 10 Lists

Discussion in 'B4J Tutorials' started by Mashiane, Jun 25, 2019.

  1. Mashiane

    Mashiane Expert Licensed User



    Here we demonstrate how we can have a list with a pager linked to it and we animate the list.

    First we create a pager element and give it a unique id with the size to show being 10 records. We add this to our page..

    Private pgr As WixPager
    We use the dummy data generator we saw in UOENow to generate about 50 records and add these to the list.

    'lets create dummy data
        Dim dummy As UOENowData
    Dim structure As Map = CreateMap()
    Dim big_film_set As List = dummy.GetRecordsWithStructure(structure, 50)
        Dim fList As WixList
    "#rank#. #title# (#year#)").SetSelect(True)
    We have provided the template for our data to be rank, title and year. We enable selection because we want to trap each select call to the item selected. Then we set the pager to link the pager to the list giving that the pager name.

    We add the list to our page.
    joulongleu and Johan Schoeman like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice