-
10 Nov 2009 2:00 AM #1
Combining rows and displaying images in a grid
Combining rows and displaying images in a grid
Hello All,
I am trying to combining all the rows from grid and displaying the image in the grid as shown in the attachment. Is it poosible to do this using extjs? Any idea?
-
10 Nov 2009 5:28 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 40
Not in a GridPanel, but this doesn't really need to be a grid and could simply be a DataView.
-
10 Nov 2009 5:39 AM #3
Is it possible to remove the strips(horizontal lines) from the grid?
-
10 Nov 2009 5:42 AM #4Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 40
Assign a cls to the grid and create a css rule based on this class to not display the row lines.
-
10 Nov 2009 5:49 AM #5
How this css rule will look like?
-
10 Nov 2009 6:14 AM #6Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 40
Assuming you used cls:'my-class' it would be:
Code:.my-class .x-grid-row {border-bottom-color: #FFF;}
-
10 Nov 2009 7:55 PM #7
templates fit your need
templates fit your need
I guess that if you are not using the power of the grid, you should not use a grid and pretend it is another object.
You could generate a list like that applying a template to the store directly. I guess you'll get better results.
Check for xtemplate on doc.
-
10 Nov 2009 10:18 PM #8Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 40
That is why I suggested DataView earlier (I assumed you still want to use a store).


Reply With Quote