custom datagrid examples

Conrad Fuhrman shared this question 7 years ago
Answered

Can you create a custom loop for a detailed "itemRenderer" on a datagrid? I would like to display data from a Data Master in a custom way. Is this possible?

Comments (4)

photo
1

You can use the event onPageLoad with a set value action over a data grid to define the values displayed in that data grid. Check these tutorials for a similar idea http://www.justinmind.com/tutorials/a...


http://www.justinmind.com/tutorials/a...

photo
1

This doesn't answer the question though. What if I wanted to showcase my products in a grid, rather than a row based layout? Can this be done.

photo
1

Oh sorry, I didn't get it. 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.

photo
1

I think that demo will give a good start for me! Thanks so much for the example!