This is a migrated thread and some comments may be shown as answers.

FloatedTiles ListView as a grid cell

2 Answers 83 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 12 Feb 2015, 02:06 AM
I've got an expandable grid that I'd like to fill the child as a Floated Tiles ListView.  Each of the cells (or tiles) in the listview have set widths and are rows/records from a datasource.  Depending on the right margin it would be good if the cells could wrap, but if not a set number of columns would be fine.  Whats the best way to achieve this?  

+ Row 1
   [1][2][3][4][5][6]
   [7][8][9][10][11]
   [12][13][14][15]
   [16][17][18][19]
- Row 2
- Row 3

Reducing the width would wrap the cells
+ Row 1
   [1][2][3][4]
   [5][6][7][8]
   [9][10][11]
   [12][13]
   [14][15]
   [16][17]
   [18][19]
- Row 2
- Row 3

cheers






2 Answers, 1 is accepted

Sort by
0
Accepted
Kostadin
Telerik team
answered on 16 Feb 2015, 01:06 PM
Hello Peter,

The best approach is to use a hierarchy with template. Please check out the following live example which demonstrates how to use templates. Also I would recommend you to examine our documentation about NestedViewTemplate which elaborates more on this matter.

Regards,
Kostadin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Peter
Top achievements
Rank 1
answered on 19 Feb 2015, 09:50 PM
Thanks - will dig in.
-peter
Tags
Grid
Asked by
Peter
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Peter
Top achievements
Rank 1
Share this question
or