This file contains hidden or 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
In the ViewModel or Controller, create a new TotalWebGrid and return it to the view, just like with the normal WebGrid. | |
public TotalWebGrid Grid | |
{ | |
get | |
{ | |
return new TotalWebGrid( | |
source: stagingBillLines, | |
rowsPerPage: 10, | |
ajaxUpdateContainerId: "BillLines"); |