i have a use case, where i need to display two arrays - a before and after if you will.
local!array1:{"Dog","Cat","Mouse"},local!array1:{"Dog","Cat","Mouse","Elk","Rat"}
ideally i'd like to display them in a grid, so that the user see's a nicely formatted list - which I can then add some functionality too. Something like :----BEFORE---- AFTER-------------------------------------------Dog ----- Dog -------------Cat ------Cat ----------
----Mouse ---- Mouse -----
----NULL ------- Elk ------------Null ------- Rat ----------However / whatever i do, i keep tripping over that the gird only really wants to parse one data array. if i try using the two different arrays in the row then I soon trip over having different array lengths.Any ideas ?
Discussion posts and replies are publicly visible
You would need to construct a third array to hold the "before / after" data as distinct properties. This will be tricky unless you are pretty sure one array (i.e. the "after") will always be longer than (or equal in length to) the other array. But if so, then it shouldn't be a huge deal I think.