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 not populating correctly - sometimes

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

    List not populating correctly - sometimes

    I have a list control that starts out hidden.

    The user selects a date range from a drop down box (called pay_periods) and then the list shows and populates based on the selection.

    But the first time it shows, it either comes up very slowly (we're talking 30 seconds or more) or it never comes up.

    But if I completely refresh the page, it usually starts working normally. Working normally means that the data comes up in less than a second.

    Stranger: There is a subtotal on the list and the subtotal amount comes up correctly and in the right location. It's as if all of the list rows are in place, they are just invisible.

    This is happening for all browsers, every time anyone logs in. (Although Firefox seems to work better - Chrome seems to work less well.)

    There are no JavaScript errors, and anything in the console looks the same whether or not it works.

    Suggestions on where to look to fix the issue? Unfortunately, it's a pretty big UX with other moving parts based on a complicated view, so it's not easy to build a test model. Going to work now on rebuilding a UX with just this list to see if it makes a difference.

    #2
    Is it possible to start the UX out with "Delay Populate List until Active Search"? (in Search properties of the List).
    Does that help/make any difference?
    Jay
    Jay Talbott
    Lexington, KY

    Comment


      #3
      That box is not checked and never was.

      Comment


        #4
        My suggestion is to use that feature instead of hiding the list.
        Jay Talbott
        Lexington, KY

        Comment


          #5
          How are you hiding the list? Have you tried putting it in a container and hiding the container to hide the list? You could hide the container by checking the date range selected.
          Pat Bremkamp
          MindKicks Consulting

          Comment


            #6
            The list is in in a container inside the tab control. It is on the first tab, so the tab is not hiding it at this point, but the container does not show until a value is selected in a drop down list.

            Once the user selects a value, the onchange event refreshes the list. The container also displays because the drop down list now has a value.

            The list shows, the group footer inside the list containing the total hours shows, but the rows themselves are invisible and not clickable. (So it's not just an issue with the font color.)

            Comment


              #7
              Jay - turning that switch on had no effect. Still works the same wrong way.

              Comment


                #8
                So, it is a client-side or server-side conditional that makes the LIST show?
                What happens if you remove the condition?

                Comment


                  #9
                  Client side. Removing the condition doesn't appear to change anything except the blank list shows before being refreshed. It still doesn't properly show the data.

                  Comment


                    #10
                    If you put a list in a tab control, then put the tab control in a container, then hide the container based on the value of another control, the list will not show properly when it first appears. (After unhiding the container.)

                    However, if you switch to a different tab and switch back then the list will show - without having to do any refreshes.

                    Sample UX sent to Alpha for review.

                    If you want to see it for yourself, go here and click the button Show List 6

                    http://apps.think-black-ink.com/time...notshowing.a5w

                    Note: This is for the current version only. It worked on a WAY old version - don't know what version it stopped working. This is a very corner case issue - I'm sure not too many like that in existence.

                    Comment


                      #11
                      The list is populating correctly but it isn't drawing/painting it as visible. You do NOT need to click the tabs. If you bring up the dev tools in chrome and resize the visible screen area the list data gets drawn, in fact minimize and max the browser and watch the data appear. I saw a similar issue the other day using a hidden container and couldn't fig out why the list was not visible on render if you put it in a hidden container. Not sure on the fix though, other than forcing a redraw when you unhide the container
                      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


                        #12
                        OR actually loading the list when the unhide occurs. I think it's basically pre-rendering the hidden container (and the list with it) your unhiding the container but the list never gets painted so again, consider delaying teh render of the list until it is visible (look in the list properties)
                        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


                          #13
                          It is a static list. It doesn't have that option. I originally discovered the problem with a SQL list that was set to both wait until visible AND wait until explicit refresh. Those options did not help.

                          Comment


                            #14
                            The final solution is:

                            put a JavaScript refresh in a timeout after showing the list. I was trying refreshlistdata(), but that does not work. You have to do:

                            Code:
                            [INDENT]setTimeout(function() {[/INDENT][INDENT=2]lObj = {dialog.Object}.getControl('list1');[/INDENT][INDENT=2]lObj.refresh();[/INDENT][INDENT]}, 101);[/INDENT]
                            That forces the display portion of the list to refresh.

                            As was mentioned before - the data is actually there, it's just not displaying.

                            Thanks to Selwyn for the proper coding to get this to show.

                            Comment

                            Working...
                            X