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?
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")
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
Hi Josker
You can create your own. If you look in
View/Partials/Grid
, you'll see different cshtml files. If you copybootstrap3.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")
is working on a reply...