Mvc 응용 프로그램을 개발 중입니다. gridMvc 버전 2.0.0.0을 사용했습니다. 날짜를 필터링하려고 할 때 작동하지 않습니다. 캘린더에서 날짜를 선택하려고 할 때 날짜가 선택되지 않습니다. 아래날짜 필터가 gridmvc에서 작동하지 않습니다.
는
@model IEnumerable<StockWatch.DTO.EmployeeDTO>
@using GridMvc.Html
@using System.Web.UI.WebControls
@{
ViewBag.Title = "Index";
}
<div class="row-fluid" style="margin-top:30px;margin-bottom:10px;margin-left:0px; margin-right:0px;">
<div class="listheading span9">
<div class="span2" style="font-size:22px;margin-right:5px;">
Employees
</div>
</div>
<div class="createlink span3" style="text-align:right;margin-left:10px;">
@Html.ActionLink("+ Add Employee", "Create")
</div>
</div>
<div class="span12" style="margin-left:0px;margin-right:0px;">
@Html.Grid(Model).Columns(columns =>
{
columns.Add(c => c.FirstName).Titled("First Name").SetWidth(400).Sortable(true).Filterable(true);
columns.Add(c => c.LastName).Titled("Last Name").SetWidth(900).Sortable(true).Filterable(true);
columns.Add(c => c.MobileNo).Titled("Mobile No.").SetWidth(400).Sortable(true).Filterable(true);
columns.Add(c => c.Email).Titled("Email").SetWidth(400).Sortable(true).Filterable(true);
columns.Add(c => c.LocationName).Titled("Location").SetWidth(800).Sortable(true).Filterable(true);
columns.Add(c => c.Designation).Titled("Designation").SetWidth(400).Sortable(true).Filterable(true);
columns.Add(c => c.JoiningDate).Titled("Joining<br/>Date").Format("{0:dd-MMM-yy}").SetWidth(400).Sortable(true).Filterable(true);
</div>
어떻게 할 전망
내 코드? 미리 감사드립니다.
캘린더에서 날짜를 선택하려고하면 날짜가 선택되지 않습니다. – Moji