Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am using uComponents 4.10 + umbraco version 4.7.2
I have a datatype grid with 3 fields.
So i want to create a macro that wiil be render this grid sorted by custom sort.
I found the only one way to render values from the grid
@foreach (uComponents.Core.DataTypes.DataTypeGrid.Model.StoredValueRow item in @Model.hpBanner)
I think that is not so good to get values by index. Maybe i lost something?
And also i want to render items by custom sort (sorted in back office grid) but i get always @item.SortOrder=0
What i am doing wrong?
Your problem with SortOrder sounds like an other issue I´m looking into. Will post back when it´s fixed.
And you´re right, the current way of getting values is quite cumbersome and will be improved.
If the sorting had worked, the items would be output from the @Model.hpBanner in the correct order without you having to do anything.
Found the bug that made SortOrder 0 every time. Will be released in a patch (5.3.1) tomorrow.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted