Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

List Control Pull to Refresh not working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    List Control Pull to Refresh not working

    I've watched the video to implement pull to refresh behavior on a list control within a mobile application. It seems fairly straight forward, set the checkbox to enable pull to refresh. For whatever reason, my list control does not respond to pull to refresh behavior. When I try to pull down on the list nothing happens. The screen does not go down and I don't get the icons to appear. Outside of my application in other mobile apps I use this feature all the time without a problem.

    My List is embedded in a Panel Card and the application is wrapped with Phone Gap. I've tried to pull to refresh behavior on both a Google Pixel XL phone and a IPad and neither work.

    I tried switching from the Alpha Theme to an IOS7 theme to see if it was something in the theme. I set the List control to fill the container, and also to not fill the container. Nothing seems to work. I don't really know what else to check. What can I be missing?

    Thanks,
    Jeremy

    #2
    Re: List Control Pull to Refresh not working

    You don't mention the Version and Build you're working with. Is your URL for Ajax Callbacks set up ok?

    Comment


      #3
      Re: List Control Pull to Refresh not working

      Hi David. Thanks for the reply. I am using the latest version available, 12.4.3.1 Build 3962.
      The app is hosted on Alpha Cloud Beta so I set the URL for ajax callback to the http:\\<myurl>.cloud.alphasoftware.com where <myurl> is the same address I use to access the backend web version of the application via any desktop browser.

      Thanks
      Jeremy

      Comment


        #4
        Re: List Control Pull to Refresh not working

        Update. I have made some progress on this but believe there are some inherent limitations in the current implementation of pull to refresh on a list control. I was able to finally get a list control to implement the pull to refresh behavior but only after the size of the list exceeded what could be shown in a single page. I had to add scroll bars to the list, set it to fill the container (I didn't switch back to test if this had anything to do with the fix), and then make sure my list had more items than what would fit on a single page.

        In my scenario, I have an "Active" items list which should be relatively small and most likely would never fill an entire page of contents. However, updates from other users will often toggle records to an active state so I wanted the users to be able to pull down on the list to check for new items at any time. If my list only has 2 or 3 items, pull to refresh does not function at all. I checked this behavior in other mobile applications (not written in Alpha). In my mobile GMail application and if I only have 2 unread emails, I can pull the list down and the app will check for new emails.

        Comment


          #5
          Re: List Control Pull to Refresh not working

          You don't need to add anything external to what Alpha has set up to get this to work. You should remove your extra scroll bars.

          There is a lot of customization available in this area. Alpha sets up the basics for you when you check the property "Has pull-to-refresh behavior". However, you can go beyond this. With that property checked get into the Pull-to-refresh settings. You'll see a checkbox at the bottom of the dialog "Convert to low level properties" and an "Explain" link. One of the greatest tips for Alpha use is... read everything... even though you may not use it at the time... if you're in an area where there is a description or details... read it.

          Check the "Convert to low level properties" and that turns off "Has pull-to-refresh behaviour" and exposes all the specific, detailed settings for pull to refresh.

          Now look in the "Pull Past End Settings and Events" property section. Here you'll find the control you want over the List behaviour. With Vertical direction set to Always, your short List will now pull to refresh.

          Comment


            #6
            Re: List Control Pull to Refresh not working

            David,

            Thank you for the detailed explanation. I did read "most" of what you mentioned but will admit I have a tendency to skim over some details. I got to the bottom of the instructions you mentioned yesterday and added a button to my main ux to test an Ajax Callback. This worked so I was able to rule that out.

            I'm going to try what you said and it all makes sense as you explain it. I'll let you know the results so others who stumble on this and find this thread for assistance will benefit.

            Thanks,
            Jeremy

            Comment


              #7
              Re: List Control Pull to Refresh not working

              If you have injectable content in the header of the list the pull to refresh will not work. - both use the same namespace, so the header wins.
              Insanity: doing the same thing over and over again and expecting different results.
              Albert Einstein, (attributed)
              US (German-born) physicist (1879 - 1955)

              Comment


                #8
                Re: List Control Pull to Refresh not working

                One of the greatest tips for Alpha use is... read everything... even though you may not use it at the time... if you're in an area where there is a description or details... read it.
                Agreed - so true.
                Pete - interesting...that sounds like one of those things where it doesn't work so I just build it different and never know why, lol
                NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

                Comment


                  #9
                  Re: List Control Pull to Refresh not working

                  Worked exactly as David described. Thank you for taking the time to help out.

                  Jeremy

                  Comment

                  Working...
                  X