-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added column defaults and tweaked demos
- Loading branch information
Joe Harrison
committed
Feb 25, 2015
1 parent
a8aa188
commit ff04719
Showing
9 changed files
with
173 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using MVCGrid.Interfaces; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace MVCGrid.Models | ||
{ | ||
public class ColumnDefaults : IMVCGridColumn | ||
{ | ||
public ColumnDefaults() | ||
{ | ||
ColumnName = null; | ||
HeaderText = null; | ||
EnableSorting = false; | ||
HtmlEncode = true; | ||
EnableFiltering = false; | ||
Visible = true; | ||
SortColumnData = null; | ||
AllowChangeVisibility = false; | ||
} | ||
|
||
public string ColumnName { get; set; } | ||
public string HeaderText { get; set; } | ||
public bool EnableSorting { get; set; } | ||
public bool HtmlEncode { get; set; } | ||
public bool EnableFiltering { get; set; } | ||
public bool Visible { get; set; } | ||
public object SortColumnData { get; set; } | ||
public bool AllowChangeVisibility { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.