Hi, i have the following MVVM bound grid:
How do I stop the datasource from loading data into the grid automatically (I think data-autobind = false did it)?
I want data to only be loaded into the grid when I do: contacts_Listing_ViewModel.grid_Datasource.read
Any ideas?
Thanks
<
div
id
=
"grid"
data-role
=
"grid"
data-bind
=
"source: contacts_Listing_ViewModel.grid_Datasource, visible: isListingVisible"
data-editable
=
"false"
data-columns
=
'["FirstName","LastName", "DepartmentName"]'
data-pageable
=
"true"
data-autoBind
=
"false"
style
=
"height:100%;width:100%"
></
div
>
How do I stop the datasource from loading data into the grid automatically (I think data-autobind = false did it)?
I want data to only be loaded into the grid when I do: contacts_Listing_ViewModel.grid_Datasource.read
Any ideas?
Thanks