Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • lele 107 posts 444 karma points
    Sep 30, 2015 @ 14:34
    lele
    0

    Rendering in a View

    Hi all

    How can I render the GridDataModel in a view? I have seen that you have written two examples but at the first one I couldn't find the property "PropertyAlias" and the second one I'm not sure if I understand it correctly (https://github.com/skybrud/Skybrud.Umbraco.GridData).

    Do you have any best practise examples?

    thx and greez

    Manuel

  • Janae Cram 63 posts 439 karma points MVP 8x c-trib
    Sep 30, 2015 @ 16:05
    Janae Cram
    100

    Hi Manuel!

    I used the Skybrud GridData for Skrift. We do some custom classes and such, but the concept is still the same. It's also using ResponsiveBP instead of Bootstrap, but that can be modified pretty easily. Here's the code:

    https://gist.github.com/naepalm/c90bc1d968ad6d7eb2a2 :)

  • Anders Bjerner 487 posts 2990 karma points MVP 8x admin c-trib
    Sep 30, 2015 @ 21:33
    Anders Bjerner
    1

    The property alias is just an example, and is actually only part of the latest code in the repository, and haven't been released yet.

    I don't have any best practice examples for rendering the grid in the frontend. We primarily build this package to be able to better index the grid in Examine, and as a result of that, we have probably used the package a little different in the frontend for each project where we have used the package ourselves.

    This also means that there isn't just one correct way to use the package, but a number of ways - some of them I might not even know about, because everyone is doing stuff a little different. But I'll try to come up with an example ;)

  • lele 107 posts 444 karma points
    Oct 01, 2015 @ 07:55
    lele
    0

    thx guys for your help. I try to found the best way for our need... and it's sometimes not so easy :). Many roads lead to Rome.

Please Sign in or register to post replies

Write your reply to:

Draft