故事96微信编辑器器居然出了,有勇者先写个范例出来玩玩吗

惊习的推荐 | LOFTER(乐乎) - 记录生活,发现同好
LOFTER for ipad —— 记录生活,发现同好
惊习 的推荐
&nbsp&nbsp被喜欢
&nbsp&nbsp被喜欢
{list posts as post}
{if post.type==1 || post.type == 5}
{if !!post.title}${post.title|escape}{/if}
{if !!post.digest}${post.digest}{/if}
{if post.type==2}
{if post.type == 3}
{if !!post.image}
{if post.type == 4}
{if !!post.image}
{if !!photo.labels && photo.labels.length>0}
{var wrapwidth = photo.ow < 500?photo.ow:500}
{list photo.labels as labs}
{var lbtxtwidth = Math.floor(wrapwidth*(labs.ort==1?labs.x:(100-labs.x))/100)-62}
{if lbtxtwidth>12}
{if !!labs.icon}
{list photos as photo}
{if photo_index==0}{break}{/if}
品牌${make||'-'}
型号${model||'-'}
焦距${focalLength||'-'}
光圈${apertureValue||'-'}
快门速度${exposureTime||'-'}
ISO${isoSpeedRatings||'-'}
曝光补偿${exposureBiasValue||'-'}
镜头${lens||'-'}
{if data.msgRank == 1}{/if}
{if data.askSetting == 1}{/if}
{if defined('posts')&&posts.length>0}
{list posts as post}
{if post_index < 3}
{if post.type == 1 || post.type == 5}
{if !!post.title}${post.title|escape}{/if}
{if !!post.digest}${post.digest}{/if}
{if post.type == 2}
{if post.type == 3}
{if post.type == 4}
{if drlist.length>0}
更多相似达人:
{list drlist as dr}{if drlist.length === 3 && dr_index === 0}、{/if}{if drlist.length === 3 && dr_index === 1}、{/if}{if drlist.length === 2 && dr_index === 0}、{/if}{/list}
暂无相似达人,
{if defined('posts')&&posts.length>0}
{list posts as post}
{if post.type == 2}
{if post.type == 3}
{if post.type == 4}
this.p={ dwrMethod:'querySharePosts', fpost:'4878eb_c628edd',userId:,blogListLength:30};Flex中怎么给DataGrid控件的项目添加一个可编辑TextArea/TextInput的例子 - Flex当前位置:& &&&Flex中怎么给DataGrid控件的项目添加一个可编辑TextFlex中怎么给DataGrid控件的项目添加一个可编辑TextArea/TextInput的例子&&网友分享于:&&浏览:48次Flex中如何给DataGrid控件的项目添加一个可编辑TextArea/TextInput的例子
Flex中如何给DataGrid控件的项目添加一个可编辑TextArea/TextInput的例子 下面是完整代码(或点击这里察看):Download: main.mxml&?xml version="1.0" encoding="utf-8"?& &mx:Application xmlns:mx="/2006/mxml" &&&&&&& layout="vertical" &&&&&&& verticalAlign="middle" &&&&&&& backgroundColor="white"& & &&& &mx:XML id="itemsXML" source="data/items.xml" /& & &&& &mx:DataGrid id="dataGrid" &&&&&&&&&&& dataProvider="{itemsXML.item}" &&&&&&&&&&& variableRowHeight="true" &&&&&&&&&&& editable="true" &&&&&&&&&&& width="100%" &&&&&&&&&&& height="100%"& &&&&&&& &mx:columns& &&&&&&&&&&& &mx:DataGridColumn id="idColumn" &&&&&&&&&&&&&&&&&&& dataField="@id" &&&&&&&&&&&&&&&&&&& editable="false" &&&&&&&&&&&&&&&&&&& headerText="ID" /& &&&&&&&&&&& &mx:DataGridColumn id="descColumnTextInput" &&&&&&&&&&&&&&&&&&& dataField="@desc" &&&&&&&&&&&&&&&&&&& editable="true" &&&&&&&&&&&&&&&&&&& wordWrap="true" &&&&&&&&&&&&&&&&&&& headerText="Desc (TextInput)" /& &&&&&&&&&&& &mx:DataGridColumn id="descColumnTextArea" &&&&&&&&&&&&&&&&&&& dataField="@desc" &&&&&&&&&&&&&&&&&&& editable="true" &&&&&&&&&&&&&&&&&&& wordWrap="true" &&&&&&&&&&&&&&&&&&& itemEditor="mx.controls.TextArea" &&&&&&&&&&&&&&&&&&& editorUsesEnterKey="true" &&&&&&&&&&&&&&&&&&& headerText="Desc (TextArea)" /& &&&&&&& &/mx:columns& &&& &/mx:DataGrid& & &/mx:Application&下面是items.xml文件:Download: items.xml&?xml version="1.0" encoding="utf-8"?& &items& &&& &item id="1" desc="The quick brown fox jumped over the lazy dog." /& &&& &item id="2" desc="Lorem ipsum dolor sit amet, consectetuer adipiscing elit." /& &&& &item id="3" desc="Pellentesque nonummy aliquet metus." /& &&& &item id="4" desc="Nullam enim." /& &&& &item id="5" desc="Nullam sollicitudin sodales diam." /& &&& &item id="6" desc="Praesent quis tellus vel erat tristique placerat." /& &&& &item id="7" desc="Sed egestas, enim a convallis auctor, nisl tellus tincidunt nibh, vitae tempus mauris risus at arcu." /& &&& &item id="8" desc="Suspendisse laoreet sem eget ipsum porta consequat." /& &&& &item id="9" desc="Ut imperdiet felis quis orci." /& &&& &item id="10" desc="Phasellus tempus ante eu nisl." /& &&& &item id="11" desc="Donec velit sem, rutrum ac, bibendum sed, mattis ac, odio." /& &&& &item id="12" desc="Fusce mauris turpis, vehicula nec, mattis et, dapibus quis, arcu." /& &&& &item id="13" desc="Morbi tincidunt volutpat justo." /& &&& &item id="14" desc="Nam urna." /& &&& &item id="15" desc="Mauris est dui, aliquet at, venenatis tempus, eleifend a, pede." /& &&& &item id="16" desc="Vestibulum porttitor arcu sit amet nulla." /& &&& &item id="17" desc="Nulla vitae sapien." /& &/items&
12345678910
12345678910
12345678910 上一篇:下一篇:文章评论相关解决方案 12345678910 Copyright & &&版权所有汐言的喜欢 | LOFTER(乐乎) - 记录生活,发现同好
LOFTER for ipad —— 记录生活,发现同好
汐言 的喜欢
&nbsp&nbsp被喜欢
&nbsp&nbsp被喜欢
{list posts as post}
{if post.type==1 || post.type == 5}
{if !!post.title}${post.title|escape}{/if}
{if !!post.digest}${post.digest}{/if}
{if post.type==2}
{if post.type == 3}
{if !!post.image}
{if post.type == 4}
{if !!post.image}
{if !!photo.labels && photo.labels.length>0}
{var wrapwidth = photo.ow < 500?photo.ow:500}
{list photo.labels as labs}
{var lbtxtwidth = Math.floor(wrapwidth*(labs.ort==1?labs.x:(100-labs.x))/100)-62}
{if lbtxtwidth>12}
{if !!labs.icon}
{list photos as photo}
{if photo_index==0}{break}{/if}
品牌${make||'-'}
型号${model||'-'}
焦距${focalLength||'-'}
光圈${apertureValue||'-'}
快门速度${exposureTime||'-'}
ISO${isoSpeedRatings||'-'}
曝光补偿${exposureBiasValue||'-'}
镜头${lens||'-'}
{if data.msgRank == 1}{/if}
{if data.askSetting == 1}{/if}
{if defined('posts')&&posts.length>0}
{list posts as post}
{if post_index < 3}
{if post.type == 1 || post.type == 5}
{if !!post.title}${post.title|escape}{/if}
{if !!post.digest}${post.digest}{/if}
{if post.type == 2}
{if post.type == 3}
{if post.type == 4}
{if drlist.length>0}
更多相似达人:
{list drlist as dr}{if drlist.length === 3 && dr_index === 0}、{/if}{if drlist.length === 3 && dr_index === 1}、{/if}{if drlist.length === 2 && dr_index === 0}、{/if}{/list}
暂无相似达人,
{if defined('posts')&&posts.length>0}
{list posts as post}
{if post.type == 2}
{if post.type == 3}
{if post.type == 4}
this.p={ dwrMethod:'queryLikePosts',fpost:'',userId:2691973,blogListLength:30};君,已阅读到文档的结尾了呢~~
年翡翠台&#40;tvb&#41;和本港台&#40;atv&#41;播放过的所有动画片
扫扫二维码,随身浏览文档
手机或平板扫扫即可继续访问
年翡翠台&#40;tvb&#41;和本港台&#40;atv&#41;播放过的所有动画片
举报该文档为侵权文档。
举报该文档含有违规或不良信息。
反馈该文档无法正常浏览。
举报该文档为重复文档。
推荐理由:
将文档分享至:
分享完整地址
文档地址:
粘贴到BBS或博客
flash地址:
支持嵌入FLASH地址的网站使用
html代码:
&embed src='/DocinViewer--144.swf' width='100%' height='600' type=application/x-shockwave-flash ALLOWFULLSCREEN='true' ALLOWSCRIPTACCESS='always'&&/embed&
450px*300px480px*400px650px*490px
支持嵌入HTML代码的网站使用
您的内容已经提交成功
您所提交的内容需要审核后才能发布,请您等待!
3秒自动关闭窗口

我要回帖

更多关于 文本编辑器 的文章

 

随机推荐