Created
October 25, 2012 17:32
-
-
Save reharik/3954200 to your computer and use it in GitHub Desktop.
JQGrid using Raif's dsl
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
protected override Grid<StatementSearchResultsetDTO> BuildGrid() | |
{ | |
GridBuilder.LinkColumnFor(x => x.StatementName) | |
.ForAction<StatementController>(x => x.AddUpdate(null)) | |
.ToPerformAction(ColumnAction.AddUpdateItem) | |
.ToolTip("Edit Item") | |
.DefaultSortColumn(); | |
GridBuilder.DisplayFor(x => x.Description); | |
GridBuilder.DisplayFor(x => x.UpdateDateTime).DisplayHeader("Updated"); | |
return this; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment