This question is locked. New answers and comments are not allowed.
I find that the item reordering functionality does not work on IOS when I am using an HtmlView inside the RadlistView. On android the reordering works perfectly.
Here is my sample code
<
RadListView
id
=
"listView"
[items]="viewCollection" (setupItemView)="onSetupItemView($event)"
itemReorder
=
"true"
swipeActions
=
"true"
(itemReordered)="onItemReordered($event)"
multipleSelection
=
false
(itemSwipeProgressStarted)="onSwipeCellStarted($event)" (itemSwipeProgressChanged)="onCellSwiping($event)" (itemSwipeProgressEnded)="onSwipeCellFinished($event)">
<
ng-template
tkListItemTemplate
let-item
=
"item"
let-i
=
"index"
>
<
StackLayout
backgroundColor
=
"white"
class
=
"list-group-item"
>
<
StackLayout
*
ngIf
=
"item.Type ==='a'"
>
<
StackLayout
rows
=
"auto auto auto auto"
columns
=
"2* 18* 7*"
>
<
HtmlView
html="<span><
h1
>HtmlView demo in <
font
color
=
'blue'
face
=
'lato'
>NativeScript</
font
> App</
h1
></
span
>" class="search-text m-y-5" row="0" col="1" colSpan="2" textWrap="true"></
HtmlView
>
</
StackLayout
>
</
StackLayout
>
</
ng-template
>
<!--For the changes-->
<
GridLayout
*tkListItemSwipeTemplate
columns
=
"* *"
class
=
"listItemSwipeGridLayout"
height
=
"100%"
>
<
StackLayout
id
=
"mark-view"
class
=
"markViewStackLayout"
col
=
"0"
(tap)="onLeftSwipeClick($event)"
height
=
"100%"
verticalAlignment
=
"center"
>
<
Label
text
=
"Undo"
horizontalAlignment
=
"center"
></
Label
>
</
StackLayout
>
<
StackLayout
id
=
"delete-view"
class
=
"deleteViewStackLayout"
col
=
"1"
(tap)="onRightSwipeClick($event)"
height
=
"100%"
verticalAlignment
=
"center"
>
<
Label
text
=
"Delete"
horizontalAlignment
=
"center"
></
Label
>
</
StackLayout
>
</
GridLayout
>
</
RadListView
>