ASP.NET MVC JQGrid nuget V.1.1.2
Update v.1.1.2
- Add new Data Annotation Attribute Approach
- Remove Dependencies of Jquery. (not actually needed in Jq.Grid. you should add by your self in project)
new Version of Jq.Grid can be access via nuget
https://nuget.org/packages/Jq.Grid/1.1.2
I added Data Annotation Attribute in Jq.Grid class model
Example usage of attributes includes:
Grid
[Grid(ID = "InvoiceGrid", AutoWidth = true, ...)] public class GridModel { ... }
- ID [string]
Set ID of Grid. Default value is empty string.
- AutoWidth [bool]
Set auto resize width of Grid. Default value is false.
- ShrinkToFit [bool]
Sets a new width to the grid dynamically. Default value is true.
- DataUrl [string]
The dataUrl parameter represent the url action to get data of grid. Default value is empty string.
- EditUrl [string]
The EditUrl parameter represent the url action to edit data of selected grid. Default value is empty string.
- ColumnReordering [bool]
drag & drop column reordering of grid. Default value is false.
- RenderingMode [enum]
Grid RenderingMode. Default value is RenderingMode.Default.
- MultiSelect [bool]
enabled multi selection of rows in grid. Default value is false.
- MultiSelectMode [enum]
multi selection of rows setting. Default value is MultiSelectMode.SelectOnRowClick.
- MultiSelectKey [enum]
multi selection of rows Key. Default value is MultiSelectKey.None.
- Width [int]
Width of grid. Default value is 0.
- Height [int]
Height of grid. Default value is 0.