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

sorting limitation of list on large data

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

    #16
    Re: sorting limitation of list on large data

    Amit,

    Maybe you should try a disconnected approach? Load your data into the device's SqlLite db. Not sure about a million records, but we have done that with 500,000 records - and queried against it. But we are typically returning only one record in the query. Don't know if that is applicable in your case, but it might be worth a look.
    Peter
    AlphaBase Solutions, LLC

    [email protected]
    https://www.alphabasesolutions.com


    Comment


      #17
      Re: sorting limitation of list on large data

      if you have run a test using KendoUI then you are doing server side pagination and are likely bringing down 1 page of records (the page length is defined by you, but would probably be in the range of 10 to maybe 1,000 records) at a time. using server side pagination in a Alpha List control would also be extremely performant. but this would be a connected app -- not a disconnected app.

      you are definitely not bringing down 1 million records from the server to the client - if you were, kendoUI would be god awful slow (as would any other client side list control). and of course, this has nothing to do with KendoUI -- it is just physics -- 1 million rows of data is a very large payload and bringing a payload of that size from the server to the client is going to be slow. not to mention the time taken to load the data into the the KendoUI list, once you have gotten the data onto the client.

      if you want to have a disconnected app that has access to 1 million rows of data on the client side. the ONLY way to do this (in my opinion) is to use something like SQLite on the device. You can easily use Alpha do to this. There are built in actions in action Javascript to make an ajax callback to the server -- create a SQLite database on the server with all of the data you want to have on the client - and then download the SQLite file to the device. I suspect that there would be absolutely no problem doing this in Alpha using the SQLite Phonegap plugin and the actions exposed in Action Javascript.

      using Xamarin, in an of itself, will NOT provide a solution. the data still needs to be stored in an on device database (like SQLite) regardless of whether you build the App in Alpha or Xamarin.

      Comment


        #18
        Re: sorting limitation of list on large data

        Hi Selwyn,

        WE are not bringing 1 million records at one go. Currently the kendo grid has paging enabled meaning we only bring set of 50 out of million records real fast. When user clicks on next/previous/page numbers the grid automatically finds the next set of 50 and bring it fast(but even if it brings set of 50 when I sort desc it will not sort just 50 it will sort server side based on actual set). I see that alpha list does the same way when I enable paging which is great but the sorting does not work on whole set of records with paging enabled(it does it client side ), I tried server side sort which is great now I am trying to see if I can use custom layout to do this. We do not want to use xamarin and fully coded solution so trying to see if alpha phonegap app can handle 1/2 million records set with filter, sort, export, search(need to have performance of it in less than 10 seconds) as current live application does that with coded approach with backend as sql.
        Last edited by amitloh; 07-17-2017, 09:12 PM.

        Comment


          #19
          Re: sorting limitation of list on large data

          We bought alpha for one app use case and Now I am trying to see if alpha can be applied to build another huge app based on huge data(1 to 5 million rows), I tested phonegap list based app with 500k and it worked fine except few limitations like client side sort and few other things. Will give it a try over the weekend.

          Comment


            #20
            Re: sorting limitation of list on large data

            I think, Amit, that here's your problem - emphasis is mine, the statement is yours from this thread:

            no+time

            I am still looking for some video or document that explains how to use session and state variables globally in phonegap alpha app.(no time to R&D)
            You have no time for R&D but have seen how far and fast you can get with Alpha Anywhere. Maybe it's time for some R&D, and I'd especially heed Selwyn's words.

            Users on this board have been generous to you despite your "no time to R&D" so maybe it's time for some study and design work.
            -Steve
            sigpic

            Comment


              #21
              Re: sorting limitation of list on large data

              You are right Steve partially. We are building one app really fast with alpha, now I am trying to see if another advance app can be built real fast(I will spend some time on design)

              I would like to put that "no+time" is another post and nothing to do with this post. Sometimes if the issue is small I may not be in position to do R&D as this is RAD tool.
              I am doing good R&D when time permits and these are very valid use cases for large complex app(high usability) and I am just asking on this forum to get opinions.
              I am specifically looking for like below one which is live in one of our web based apps-(click on 3 dots in kendo grid)
              http://demos.telerik.com/aspnet-ajax...defaultcs.aspx

              http://demos.telerik.com/aspnet-ajax...defaultcs.aspx

              http://docs.telerik.com/kendo-ui/con...-you-type.html


              Our scenarios in some of apps are very advance(all above 3 features are great for 1 million plus rows) and I am just trying to see if above features can be met with Alpha or not.
              I agree with you regarding alpha forum- compared to other tools alpha forum is really great.
              Last edited by amitloh; 07-17-2017, 10:07 PM.

              Comment


                #22
                Re: sorting limitation of list on large data

                Originally posted by amitloh View Post
                Hi Selwyn,

                WE are not bringing 1 million records at one go. Currently the kendo grid has paging enabled meaning we only bring set of 50 out of million records real fast. When user clicks on next/previous/page numbers the grid automatically finds the next set of 50 and bring it fast(but even if it brings set of 50 when I sort desc it will not sort just 50 it will sort server side based on actual set). I see that alpha list does the same way when I enable paging which is great but the sorting does not work on whole set of records with paging enabled(it does it client side ), I tried server side sort which is great now I am trying to see if I can use custom layout to do this. We do not want to use xamarin and fully coded solution so trying to see if alpha phonegap app can handle 1/2 million records set with filter, sort, export, search(need to have performance of it in less than 10 seconds) as current live application does that with coded approach with backend as sql.
                sorting in a list (that is paginated) happens client side (on just the current page of records in the list) if you have configured the list to operate this way.
                if you configure the list to do server side sorting, then it will sort server side. the property that governs where storing takes place (client side or server side) is set on each column in the List layout.
                if you configure the list to sort server side, and you have 1,000,000 rows in the list, then you better be sure to have appropriate indexes on your database so that the sql database can perform the sort in a reasonable time.

                Comment


                  #23
                  Re: sorting limitation of list on large data

                  perfect! Thanks Selwyn. I tried server side sort on 500k and it works good with acceptable performance. Amazing thing is even without indexing alpha android app opens up fast and does server side sort, paging in real good time. I will be adding indexing for sure.

                  Comment


                    #24
                    Re: sorting limitation of list on large data

                    I want to apologize my earlier message (now deleted) and I want to specially apologize to David.

                    But million records is lot and so is half of it.

                    So Amit why not show the example in live. If you handle millions of records then a live page should not be an any problem. I really want to know your solution!

                    I have moved to SQLite about a year a ago but the biggest problem I have found is how to secure the data way that also the customer understand it.

                    Ken
                    Last edited by kkfin; 07-18-2017, 04:18 PM. Reason: I have used OBDC ch-werner but Alpha soon will have native support. It is already in prerelease version.

                    Comment


                      #25
                      Re: sorting limitation of list on large data

                      Hi ,

                      I never said I want to show 1 million records at one go(no one does this).
                      I have paging enabled and the sorting needs to be on 1 million records.

                      you can check any standard telerik grids on telerik site with paging enabled
                      http://demos.telerik.com/aspnet-ajax...defaultcs.aspx
                      http://demos.telerik.com/aspnet-ajax...defaultcs.aspx

                      I think I got good answer from David and Selwyn. Again I do not show 1 millions rows on one single page.(its paged)

                      Comment


                        #26
                        Re: sorting limitation of list on large data

                        Amit,

                        I have used Kendo UI about 4 years. You can check this from my posts to this forum. If you need to sort anything(read your first post) then you need to handle all records. And that is all Server side. Kendo UI is totally client side. You use it just to show records. Wake up man.

                        Ken

                        Comment

                        Working...
                        X