我在 jquery 中有代码:
我使用json获取数据的来源。
这是示例http://samples.infragistics.com/jquery/grid/advanced-filtering
$("#tbl-visit-schedule").igGrid({
columns: [
{ headerText: "Date", key: "Date",dataType:"date",format:"dd.MM.yyyy" },
{ headerText: "Name", key: "Name", dataType: "string" },
{ headerText: "Siegle", key: "Siegle", dataType: "string" },
{ headerText: "Group", key: "Group", dataType: "string" },
{ headerText: "Status", key: "Status", dataType: "string" },
{headerText: "Action", key: "Action", dataType: "string" }
],
width: "550px",
height: "400px",
dataSource: jsonp,
features: [
{
name: 'Filtering',
allowFiltering: true,
type: 'local'
}
]
});