---
title: "How to add cross button in every row of listView in Sencha Touch?"  
description: "How to add cross button in every row of listView in Sencha Touch?"  
author: "Anonymous User"  
published: 2013-06-14  
updated: 2013-08-05  
canonical: https://www.mindstick.com/forum/1084/how-to-add-cross-button-in-every-row-of-listview-in-sencha-touch  
category: "sencha touch"  
tags: ["sencha touch"]  
reading_time: 1 minute  

---

# How to add cross button in every row of listView in Sencha Touch?

Hi [Expert](https://www.mindstick.com/articles/13120/an-expert-financial-advice-will-improve-your-finances),\
I want to [add](https://www.mindstick.com/forum/12983/add-address-in-textbox-when-page-is-load-and-if-i-search-address-in-textbox-show-in-map-by-javascript) [cross](https://www.mindstick.com/forum/33892/how-to-handle-cross-thread-exception-in-winforms) [button](https://www.mindstick.com/articles/63/how-to-add-button-in-datagridview-in-csharp-dot-net) in every [row](https://www.mindstick.com/forum/1212/this-row-already-belongs-to-this-table) of **[listView](https://www.mindstick.com/articles/12744/listview-in-android)** in **[Sencha Touch](https://www.mindstick.com/interview/23004/define-class-system-of-sencha-touch)**. How to do this?\
Please help!Thanks in advance.

## Replies

### Reply by Anonymous User

Hello Ben Reitman,\
There is no such type of functionality to add Button Component in Sencha ListView but Sencha provides DataView control to add many component within it. So, either you use DataView control or you can add HTML Image in ListView Tpl Section like this:\
\
itemTpl: [ ' {Image_Name}',\
' <img src=\'/image_path\' alt=\'close\' id=\'image_id\' class=\image_class\' />',\
''\
]\
I hope it might be resolve your problem.\


---

Original Source: https://www.mindstick.com/forum/1084/how-to-add-cross-button-in-every-row-of-listview-in-sencha-touch

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
