Copied to clipboard

Flag this post as spam?

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


  • Mark 91 posts -18 karma points
    Jan 26, 2018 @ 10:34
    Mark
    0

    GridData in the Core

    Now that we all use the Grid for every project we do, how about we also have GridData added to the Core to compliment the fact we have the Grid in the Core?

    Would Skybrud be up for it or are plans already afoot?

  • Søren Kottal 712 posts 4570 karma points MVP 6x c-trib
    Jan 26, 2018 @ 11:10
    Søren Kottal
    0

    I don't think everyone uses grid on every project. But I like the idea of having some kind of strongly typed grid model in core. We use Skybrud.GridData on all our projects.

    You should create a feature request at issues.umbraco.org

  • Mark 91 posts -18 karma points
    Jan 26, 2018 @ 11:12
    Mark
    0

    Anyone not using the Grid in every project isn't doing Umbraco justice...

    Thanks, Soren, I will wait for someone at SkyBrud to let me know if there already plans and if not if they agree?

  • Matthew Wise 271 posts 1373 karma points MVP 5x c-trib
    Jan 27, 2018 @ 13:54
    Matthew Wise
    0

    Some clients just can't handle managing content via the grid, it's not always the best route.

    It is a great and powerful tool to have, and a strongly typed version is never a bad thing :)

    Matt

  • Anders Bjerner 487 posts 2990 karma points MVP 8x admin c-trib
    Jan 27, 2018 @ 13:52
    Anders Bjerner
    0

    Hi Mark and thanks for the feedback :D

    We would be totally okay with this package being added to the core. But there are probably some technical parts we need to discuss with the HQ as well before doing so - eg. how it works with third party packages, if it would create any breaking changes etc.

    As Søren suggests, I think the right step forward would be to create an issue (feature request) on the tracker, and we can then discuss it further with the HQ - and users can upvote if they like the idea.

  • Anders Bjerner 487 posts 2990 karma points MVP 8x admin c-trib
    Jan 27, 2018 @ 14:23
    Anders Bjerner
    1

    By the way - Umbraco 8 adds some support for strongly typed grids:

    https://github.com/umbraco/Umbraco-CMS/blob/dev-v8/src/Umbraco.Core/Models/GridValue.cs

    It does however not provide strongly typed models for the value of each grid control, as it just exposes an instance of JToken representing the underlying JSON.

  • Mark 91 posts -18 karma points
    Apr 09, 2018 @ 10:33
    Mark
    0

    Thanks Anders, noted.

Please Sign in or register to post replies

Write your reply to:

Draft