English 中文(简体)
sen:以检查箱的形式管理一个清单
原标题:sencha-touch : manage a list of items with checkboxes in a form

我有一份与用户偏好有关的语文清单。 (我知道我如何用json取回名单)。

你们是否能够展示/管理一种形式,使用所有选用的语言,还是用sen子检查。

我想有一份表格,列出每一行各有检查箱的语文和语文名称。

问题回答

我也在对此进行调查,我找到了自己解决这一问题的办法。 我只是逐个逐个逐个增加,在网页上播放时,将储存数据加以更新。 这里是样本代码。

 var catStore = Ext.getStore( categorystore );
 for (i = 0; i < catStore.getCount(); i++) {
     this.add({
                 xtype:  rating ,
                 store:    categorystore ,
                 itemsCount : 5,
                 minValue:   -1,
                 value:   2,
                 name: catStore.getAt(i).data.categoryId,
                 label: catStore.getAt(i).data.name,
                 inputCls :  x-rating-star-input ,
                 itemCls :  x-rating-star ,
                 itemHoverCls :  x-rating-star-hover 
     }); 
}




相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签