Copied to clipboard

Flag this post as spam?

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


  • JoskerVemeulen 68 posts 262 karma points
    May 03, 2019 @ 14:08
    JoskerVemeulen
    0

    htmlgrid bootstrap4

    Hi, I'm using bootstrap 4 front end. I would like to use htmlgrid, but the there's only a bootstrap3 grid available. Anyone using a bootstrap 4 htmlgrid?

    Thanks

  • Søren Kottal 713 posts 4571 karma points MVP 6x c-trib
    May 04, 2019 @ 15:02
    Søren Kottal
    100

    Hi Josker

    You can create your own. If you look in View/Partials/Grid, you'll see different cshtml files. If you copy bootstrap3.cshtml, you can make the needed adjustments for Bootstrap 4 in there.

    You then render it by adding the name of your new cshtml file as the third parameter, like @Html.GetGridHtml(Model, "propertyAlias", "bootstrap4")

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies