Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Feature Request: Make calling listview available in event args

$
0
0

Could we please make a point to pass the calling listview that fired an event into all LV event args?

Would save doing this

functiononLeftSwipeClick(args) {
    varlistView = frameModule.topmost().currentPage.getViewById("listView");
    listView.notifySwipeToExecuteFinished();
}

Could be more elegant like

functiononLeftSwipeClick(args) {
    args.listView.notifySwipeToExecuteFinished();
}

Which also lets me re-use events functions across listviews as the owner is passed in


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>