Skip to content

Commit b8f3ae0

Browse files
authored
chore: enable Navigatable and ServerFiltering options
1 parent 4d98b44 commit b8f3ae0

File tree

1 file changed

+3
-1
lines changed
  • grid/grid-odata-example/OdataSample/OdataSample/Views/Home

1 file changed

+3
-1
lines changed

grid/grid-odata-example/OdataSample/OdataSample/Views/Home/Index.cshtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
.Filterable()
1919
.HtmlAttributes(new { style = "height:650px;" })
2020
.Scrollable()
21+
.Navigatable()
2122
.Editable(editable => editable.Mode(GridEditMode.InCell))
2223
.DataSource(dataSource => dataSource
2324
.Custom()
@@ -48,6 +49,7 @@
4849
.PageSize(20)
4950
.ServerPaging(true)
5051
.ServerSorting(true)
52+
.ServerFiltering(true)
5153
)
5254
.Pageable()
5355
.Sortable()
@@ -69,4 +71,4 @@
6971
function destroy(dataItem) {
7072
return "http://localhost:54339/odata/Products(" + dataItem.ProductID + ")";
7173
}
72-
</script>
74+
</script>

0 commit comments

Comments
 (0)