Results 1 to 8 of 8

Thread: Grid with gallery view

  1. #1
    Sencha Premium User
    Join Date
    Dec 2007
    Location
    Japan -- 千葉
    Posts
    666
    Answers
    10

    Question Answered: Grid with gallery view

    I have a buffered store and would like to display the (store's) images in a dataview.

    Does DataView support infinite grid?
    My scan through the source code suggests "NO..."

    I see in the API that a grid panel requires the class Ext.grid.View.
    However, I don't see anything in the DataView code that demonstrates the infinite grid capacity.

    My question becomes:
    How can I use the grid (panel) but make it look like a DataView? Is this possible with ExtJS 4.07+?

  2. The DataView does not support it yet. You can hide the headers and if you don't want the column look then you can have one column and use a template in the one column's renderer and return html.

  3. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    The DataView does not support it yet. You can hide the headers and if you don't want the column look then you can have one column and use a template in the one column's renderer and return html.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  4. #3
    Sencha User
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    1,018
    Answers
    1

    Default

    Hi Mitchell,

    Could you answer are you planning to support buffered scrolling for DataView?

    It would be great to have infinite scrolling for ComboBox list.

  5. #4
    Sencha User
    Join Date
    Sep 2013
    Posts
    2

    Default

    Hi Mitchell,

    Could you answer are you planning to support buffered scrolling for DataView?

    Cheers!

  6. #5
    Sencha User
    Join Date
    Sep 2011
    Posts
    574
    Answers
    59

    Default

    There is no way to create a buffered renderer for any DataView, because templates used maybe very different. This makes period determination essentially impossible.

  7. #6
    Sencha User
    Join Date
    Mar 2013
    Posts
    4

    Default

    Hi,
    There is a requirement for us to show the 1000's of images in a window and on scrolling down need to load the next 100 set of images. Currently we are using the dataview to shown the images in the window.But dataview doesn't supports buffered rendering.So I want to make the grid to use the custom view and render the images.
    Can anyone help me to make the grid look like the gallery view.

    Thanks in advance,
    Pallavi




  8. #7
    Sencha User
    Join Date
    Sep 2010
    Posts
    40

    Default

    Any news on this topic (mainly ExtJS 5)? As proposed, i can configure one column and define a renderer, but still each item in the grid is rendered in a TR tag, so i can't display multiple items in a row.

  9. #8
    Ext JS Premium Member
    Join Date
    Jul 2008
    Location
    New Zealand
    Posts
    195
    Answers
    8

    Default

    Quote Originally Posted by Alinanila View Post
    Any news on this topic (mainly ExtJS 5)?
    Looks like no
    We can see that the bufferedRenderer config option exists for grids but not for data views.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •