Copied to clipboard

Flag this post as spam?

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


  • Joseph 14 posts 93 karma points
    Jul 27, 2021 @ 18:07
    Joseph
    0

    @Html.GetGridHtml(Model, "nameOfGrid"), where do I see the HTML and JavaScript for the grid?

    Browsing our code in Visual Studio and I see this line in a view:

    @Html.GetGridHtml(Model, "nameOfGrid"),

    How do I see the code for the grid being rendered here? Is that in the back office somewhere?

  • Søren Kottal 712 posts 4570 karma points MVP 6x c-trib
    Jul 27, 2021 @ 18:54
    Søren Kottal
    0

    Hi Joseph

    You can find the grid rendering razor view in Views/Partials/Grid/bootstrap3.cshtml

  • Joseph 14 posts 93 karma points
    Sep 22, 2021 @ 19:10
    Joseph
    0

    Not quite what I meant. I want to edit the style of a specific element in a grid. To accomplish that I want to add an ID to the element and some CSS. How do I get to that code?

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Sep 23, 2021 @ 06:54
    Huw Reddick
    0

    If you look in the bootsrap3 grid template you will see how it renders. You should be able to parse the output there

Please Sign in or register to post replies

Write your reply to:

Draft