Код: Выделить всё
[i][/i]
Name
Resource Type
Week Start Date
Week End Date
Status
@foreach (var item in Model.GetContractorNotEnteredDetails)
{
[i][/i]
@Html.TextBoxFor(m => item.CONTRACTOR_NAME, new { @class = "project-input", @readonly = true, @style = "width:180px;text-align:left" })
@Html.TextBoxFor(m => item.RES_TYPE, new { @class = "project-input", @readonly = true, @style = "text-align:left;" })
@Html.TextBoxFor(m => item.SDate, "{0:MM/dd/yyyy}", new { @class = "project-input startdate", @readonly = true })
@Html.TextBoxFor(m => item.EDate, "{0:MM/dd/yyyy}", new { @class = "project-input enddate", @readonly = true })
@Html.DisplayFor(m => item.EMP_STATUS, new { @readonly = true, @style = "text-align:center;" })
[img]http://mottie.github.com/tablesorter/addons/pager/icons/first.png[/img]
[img]http://mottie.github.com/tablesorter/addons/pager/icons/prev.png[/img]
[img]http://mottie.github.com/tablesorter/addons/pager/icons/last.png[/img]
10
20
30
40
Я пробовал использовать jQuery «tablesorterPager», например
Код: Выделить всё
$(document).ready(function () {
$("#dt_basic")
.tablesorter({ widthFixed: true, widgets: ['zebra'] })
.tablesorterPager({ container: $("#pager") });
});
Пожалуйста, помогите мне.
Подробнее здесь: https://stackoverflow.com/questions/242 ... sp-net-mvc