Questions tagged [mvcgrid.net]

A grid for ASP.NET MVC and Bootstrap with ajax paging and sorting. Also has filtering support, export to csv, back button support, and graceful degradation.

A grid for ASP.NET MVC and Bootstrap with ajax paging and sorting. Also has filtering support, export to csv, back button support, and graceful degradation.

The primary goal of this project is to provide the core grid functionality, along with a very simple and easy-to-use client-side API to allow you to easily add the additional front-end interaction you need. You can add it to your project very easily and get it running with minimal effort, but it also has the extensibility to customize when needed.

You configure your grids on app start, and provide a function callback to actually query your data. The library will handle the ajax requests. It will parse and validate the requested options and then pass the QueryOptions to your function to retrieve the data.

http://mvcgrid.net

35 questions
4
votes
2 answers

MVCGrid.Net sorting issue - sortdirection

I am trying to setup a grid using MVCGrid.Net but my code using sorting is giving me an error with the options.sortdirection. public static void RegisterGrids() { MVCGridDefinitionTable.Add("CustomerGrid", new…
user3816366
  • 93
  • 2
  • 8
3
votes
1 answer

What's the best way to implement an inline DropDownList using MVCGrid.net?

I'm using MVCGrid.net (http://mvcgrid.net). I have a grid of Items. Say the view model for my Item looks like this: public class ItemViewModel { public string ItemNumber { get; set; } public string ItemStateId { get; set; } } I'd like to…
Donuts
  • 2,185
  • 3
  • 20
  • 31
3
votes
1 answer

How do i send an additional parameter to my MVCGrid.Net RetrieveDataMethod?

I'm using MVCGrid.net (http://mvcgrid.net). First of all, fantastic grid tool! I have my grid working properly, however when i'm populating my grid I need to pass an additional parameter to my RetrieveDataMethod. The value i need to pass is part of…
Donuts
  • 2,185
  • 3
  • 20
  • 31
2
votes
1 answer

MVCGrid.NET - How to reload the grid?

I am using MVCGrid.NET http://mvcgrid.net/ And I created a Non-Fluent grid http://mvcgrid.net/gettingstarted see Non-Fluent Example GridDefinition def = new GridDefinition(); GridColumn column = new…
user979331
  • 11,039
  • 73
  • 223
  • 418
2
votes
2 answers

MVC:- Integration of mvc6.grid

I want to integrate mvc6.grid, I followed the steps but getting error in view. Error "'HtmlHelper< IEnumerable< SchemeMaster>>' does not contain a definition for 'Grid'". Model:- public partial class SchemeMaster { public int SchemeID {…
Sunil Chaudhary
  • 397
  • 1
  • 9
  • 31
2
votes
2 answers

Use settings.CellEditorInitialize on a particular column instead of entire grid

I have a mvc devexpress grid, i want to acheive a functionality which when on editing of the grid, one of the column has to be readonly while other changeable.And while adding a new row, all the columsn have to be changeable including the previously…
2
votes
1 answer

Is it possible not to configure grid setting on startup?

Let say I have multiple pages, one of those is main page that simply display logo styles, text etc, the other pages uses multiple grids, do I have to configure/retrieve the data for other pages on startup even if this is not necessary?
deadlock
  • 21
  • 2
2
votes
1 answer

How to use resources files .resx to get translated column header text in mvcgrid.net

How to use resources files .resx to get translated column header text in mvcgrid.net ?
JPM_1
  • 21
  • 2
1
vote
0 answers

Retain data in grid

I want my MVCGrid.net grid to fetch new data only when the user clicks the refresh button that I have added to my view. If the user goes to a new page in the pagination, sorts, or filters, I don't want the grid to fetch new data. I just want it…
t_m27
  • 103
  • 16
1
vote
4 answers

Filtering attributes are not visible on page in Grid.Mvc

I am displaying Grid using Grid.Mvc, sorting & paging are working but filters are not shown on the grid though I added ".Filterable(true).WithMultipleFilters()" to Grid. Below is my code. GridMvc.css is in place, Did I missing something? Thanks in…
Chaitanya
  • 37
  • 2
  • 10
1
vote
2 answers

Grid MVC Compiler Error

I want to know exactly what mistake I have made. Is that about upgrade or downgrade the assembly? If that's right what and how can I fix it?? When i run my project this msg appear Compiler Error Message: CS1705: Assembly 'GridMvc, Version=2.0.4.0,…
1
vote
1 answer

DependencyResolver.Current.GetService

I am trying to implement a grid using MVCGrid.net In the MVCGridConfig.cs they have something like this .WithRetrieveDataMethod((context) => { var options = context.QueryOptions; int totalRecords; …
blue piranha
  • 3,706
  • 13
  • 57
  • 98
1
vote
2 answers

Using MvcGrid.Net error on binding filters MVC

I`m using MvcGrid.Net Here is my cshtml page
Dany
  • 367
  • 1
  • 2
  • 21
1
vote
1 answer

In .Net MVCGrid I'm unable to pass additional query options using client side bindings

Hi I have a grid that I need to send values to the RetrieveDataMethod. I am using 2 drop down menus like filters but because the menus don't relate directly to the columns in my grid I can't use the filter option. I really like the Idea of using…
Jeff Finn
  • 1,975
  • 6
  • 23
  • 52
0
votes
1 answer

How to disable header click sort event in NonFactors.Grid.Mvc5?

I have made the following table with NonFactors.Grid.Mvc5 library. columns.Add(model => model.ApplicationName).Titled("Application").Filterable(true).Sortable(true); I need to find a way to disable column from sorting when user clicks on…
LizardKingLK
  • 131
  • 4
  • 9
1
2 3