[Vuejs]-How change the "loadOnDemandItemTemplate" from RadListView in NativeScript-Vue

0👍

Here is a Playground Sample how you could do this with Vue.

       onLoaded: function(args) {
            var listView = args.object;
            listView.loadOnDemandMode = "Manual";
            listView.loadOnDemandItemTemplate = `<GridLayout height="100" backgroundColor="red"></GridLayout>`;
        }

But it works only with iOS, with Android it’s a known issue.

Leave a comment