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).
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:
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 ;)
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
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 :)
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 ;)
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.
is working on a reply...