Hi, i have a question about list view and webix jet.
I have some list views. for example, if i press one action button to show another subview with webix jet and then i go back to the previous list view, i want this list view to show the previous data it had.
I know i have this function to reload, but i would like not to do that and focus on the list item the user was before showing subview
$onurlchange: function (config, url, $scope) {
reload();
}
Is there a way to do this? this issue is very important for me.
What concerns reloading, you need to perform it anyway, even if you deal with static data. But you can avoid unnecessary requests to server by creating a client-side DataCollection.
You load data from server to the DataCollection once and then and perform sync() with this collection in the $oninit handler.