Copied to clipboard

Flag this post as spam?

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

  • JoskerVemeulen 67 posts 261 karma points
    May 03, 2019 @ 14:08

    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?


  • Søren Kottal 611 posts 3896 karma points MVP 4x c-trib
    May 04, 2019 @ 15:02
    Søren Kottal

    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")

Please Sign in or register to post replies

Write your reply to: