Some table issues

Hi,

I have a few questions about table implementation and behavoiur.

  1. Why does not table (and all the containers) have method getAll(int from, int to) that would get and display all the entities in given range. I think that is way it would be much faster than loading it one by one…

  2. I have noticed some bugus behaviour in Firefox 3.5.9 and in older versions to…when I hold the srollbar and scroll vertically in a few scrolls I get something like this


problem

(the problem is only with generated columns, I am using hbn container)

  1. With opera again in all the new versions the problem little bit different…when I scroll somewhere where data are not prepared in the table (and they begin to download from the server) the scrollbar is changing position…

(I am using vaadin 6.2.2)

Thanks for your response.

Pavel

That would be a good idea. So it should be something like this:

    /**
     * By implementing this interface, a container can give a fast access to the
     * set of item values in the container.
     */
    public interface Container.BlockReadable extends Container.Ordered {
        /**
         * Returns given container property values at once for set of items.
         * 
         * @param fromItemId
         *            The first item id to return. If null, the first item in
         *            the container is used instead.
         * @param toItemId
         *            The last item id to return. If null, the last item in the
         *            container is used instead.
         * @param skipItems
         *            number of items skipped counting from the fromItemId.
         * @param maxItems
         *            maximum number of items to return at once. If <= 0, no
         *            limit is used.
         * @param propertyIds
         *            Property values to include in the items. If no properties
         *            are specified, all properties are included in the order
         *            returned by getContainerPropertyIds().
         * @return Array of array of property values. The outer array is from
         *         fromItem to toItem. Each item is represented my array with
         *         values in the order of properties given with propertyIds.
         */
        Object[][]
 getContainerPropertyValues(Object fromItemId,
                Object toItemId, int skipItems, int maxItems,
                Object... propertyIds);
    }

Created a ticket for it. Please comment on the ticket also
http://dev.vaadin.com/ticket/4485
.