Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4710

Add a database-friendly ListModel.getElementsAtRange(int, int) method

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: General
    • Labels:

      Description

      Current Result

      ListModel.getElementAt(int) gets the element one by one.
      Lots of DB queries are needed in a concrete implementation.

      Expected Result

      It's good to have a getElementsAtRange(int, int) method to get the elements.
      Only a DB query is needed in a concrete implementation.

      Workaround

      Implement a cache.

        Attachments

          Activity

            People

            Assignee:
            rudyhuang rudyhuang
            Reporter:
            rudyhuang rudyhuang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: