简体   繁体   中英

Sencha Touch Custom List Row

I need your help for Ext.List element on Sencha Touch Framework. I have a list that it is refreshed in every 1 second. When there is an update on one row i have to highlight that row. Problem is i use template for the list and template apply the css for whole List. How can i change the design of spesific row?

Thanks

In a template you can call a function to do logic.

There are examples here .

You are looking for the "Template member functions" section of that doc. That will let you call a function to decide to add the css class to the element, or data attribute or whatever you decide.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM