Bending (or breaking) the DataGrid form layout options

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
SparkOut
Posts: 2318
Joined: Sun Sep 23, 2007 4:58 pm

Bending (or breaking) the DataGrid form layout options

Post by SparkOut » Sat Apr 18, 2015 3:33 pm

Is there a way of making a DG form template that can be laid out in a repetitive tile pattern? ie, side by side until a wraparound point where a new row of form "tiles" will begin?
I have been fudging with repeated elements in a single form template and it's sort of working but a big headache to layout and resize, and the dgData needs to be mashed to get this to populate correctly:
theDataA[1]["image"]
theDataA[2]["image"]
theDataA[3]["image"]
theDataA[4]["image"]
theDataA[5]["image"]
theDataA[6]["image"]
needs to be rearranged to
theDataA[1]["image1"]
theDataA[1]["image2"]
theDataA[1]["image3"]
theDataA[2]["image1"]
theDataA[2]["image2"]
theDataA[2]["image3"]
(etc etc)

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”