I work on asp.net mvc project . i face issue width of table increase after add filter search individually for every column
so exactly i need give same width filter search exactly as same width of header
so How to solve this issue please ?
what i try as below :
@Html.DisplayNameFor(model => model.RequestNo)
@Html.DisplayNameFor(model => model.EmpID).ToString().Replace(":", "")
@Html.DisplayNameFor(model => model.EmpName).ToString().Replace(":", "")
View Form
@foreach (var item in Model)
{
@Html.DisplayFor(modelItem => item.RequestNo)
@Html.DisplayFor(modelItem => item.EmpID)
@Html.DisplayFor(modelItem => item.EmpName)
@Html.ActionLink("View Form", "Details", new { id = item.RequestNo })
}
RequestNo
EmpID
EmpName