In your sorting action method, return the partial view with the data, and on jquery ajax success call, replace your table with new data.
public ActionResult Sorting(your params)
{
return PartialView("_PartialViewName.cshtml", result);
}
$.ajax({
type: "GET",
contentType: 'application/json',
url: "/VisitorList/Sorting",
data: { Id: currentPage, cityId: cityId, searchType: tabid, columnName: columnName, sortType: sort },
success: function (data) {
$('#divVisitorsList').replaceWith(data);
sort = data.Sort_Direction;
}
});
-KR