I'm building an app using nativescript, javascript and telerik ui. I need need to know how crate a function to enable / disable the swipaction on radlistview by code. Best regards
When using the swipeActions="true"
of RadListView from the nativescript-telerik-ui plugin in order to implement an enable/disable solution all that you need to do is:
itemSwiping
event as shown herereturnValue
of the arguments to the desired boolean value, as shown hereThe same example is available in the official nativescript-telerik-ui sdk repository for Angular here and for Vanila {N} here (look for the files with swipe-disable in their name)