Display data as grid

Mary shared this question 7 years ago
Answered

Is it possible to create a datagrid which contains more than one Item per row?


I would like to diplay my data in a grid with two columns and 1-n rows.

Comments (5)

photo
1

Sure, take a look at this tutorial http://www.justinmind.com/tutorials/a...

photo
1

The tutorial shows only how to display the records in a list.


I would like to display two or three records in each row.

photo
1

Coud you post an image to show what do you want please?

photo
1

bf126d183373034e8531d258361b03f5


sure

photo
1

Yes, but it's tricky though. You have to play with the rows per page and the pagination events to do so. Drag as many data grids as columns you want to have in your grid. Then make them to have only one column and move all the attributes to that column. Place one next to the other. Set the rows per page property to all three to the number of rows you want in your "grid". Then define onPageLoad events that execute the pagination event "next page" to each "fake column". Check the prototype http://justinmind.s3.amazonaws.com/da... for further help.