1
Vote

My grid looks nothing like the example

description

Hi,

I'm very new to MVC and .NET programming. I was very excited by the features and power of Grid.Mvc, but once installed and with a sample grid, I fail to get the look and feel of the examples.

The pagination shows vertically for starters... filters don't work, and the style is nothing like the examples; where am I going wrong?

file attachments

comments

ciprianilie wrote May 12, 2016 at 4:13 PM

Got the pagination sorted; it was CSS (bootstrap).
Filters still don't work.

Thanks

Saineshwar wrote Sep 24, 2016 at 6:06 AM

__First thing you make Layout Null and try

@{
Layout = null;
}

Second thing have you downloaded bootstrap package and add reference.

Adding Scripts on View

<link href="@Url.Content("~/Content/Gridmvc.css")" rel="stylesheet" />
<link href="@Url.Content("~/Content/bootstrap.min.css")" rel="stylesheet" />
<script src="@Url.Content("~/Scripts/jquery-1.9.1.min.js")"></script>
<script src="@Url.Content("~/Scripts/gridmvc.min.js")"></script>

If you want Refernce have look on below URL

creating-simple-grid-in-mvc-using-grid-mvc