In this way you can do a formula on for example the Fill property. Like
This would make the first line darkgray, the second white, the third darkgray and so on.
Updating status and adding @GregLi
I would like this also. I just want to show the row number on the gallery so a user can know what row he is on. With the virtual scrolling a user has no idea how many rows he has to scroll thru . If I put the rowcount near the header aree of the page and the row # on the details of the gallery the user can know where he is.
Any updates on this?
Need it badly... Any news yet, please?
This is really needed - would be great for alternate shading of galleries and a whole bunch of other stuff.
My workaround for this was to generate row id's for my data source by placing them into collections. Once I have a row id on my collection, I can use that to my liking.Code:
//Clear final collection to ensure no redundant data
//Create a temporary collection for data source
//This create a column called row id on your final collection
//Add your other columns here
I placed that on my OnStart so this happens only when my app starts.Also for the gallery template fill:
If(Mod(rowid,2)=0, Color.Aqua, Color.AliceBlue)