---
title: "sencha touch 函数+事件"
author: "junjun16818"
date: "2011-02-24T16:32:42Z"
tags: []
categories: ["Web前端"]
slug: "sencha-touch"
draft: false
lastmod: "2011-02-24T16:36:11Z"
id: 923641
url: "https://junjun16818.iteye.com/blog/923641"
---

```
tab.setActiveItem(1);   // tabPanel  切换页面
list.getSelectedRecords()[0].data.id  //获取list选中项  data. 数据名

```