好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > Flex4 DataGrid中如何嵌入RadioButton

Flex4 DataGrid中如何嵌入RadioButton

熱門標簽:外呼系統號碼顯示 中山外呼系統中間件 地圖標注多家店 車載電話機器人 南昌crm外呼系統如何 無錫電銷外呼系統代理 天津企業外呼系統代理商 什么行業需要電話機器人 廣州ai外呼系統業務
復制代碼 代碼如下:

s:DataGrid id="viewDg" width="100%" height="100%" fontFamily="微軟雅黑"
horizontalScrollPolicy="off" borderVisible="false"
dataProvider="{viewList}">
s:columns>
s:ArrayList>
s:GridColumn width="{wid*0.02}" resizable="false"
itemRenderer="Module_SchoolView.RadioButtonGridItemRenderer"/>


s:GridColumn width="{wid*0.25}" headerText="名稱" dataField="xysj02" resizable="false"/>

s:GridColumn width="{wid*0.25}" headerText="地名" dataField="xysj02name" resizable="false"/>

s:GridColumn width="{wid*0.35}" headerText="URL" dataField="xysj04" resizable="false"/>

s:GridColumn width="{wid*0.13}" headerText="備注" dataField="xysj05" resizable="false"/>
/s:ArrayList>
/s:columns>
/s:DataGrid>

MXML頁面
復制代碼 代碼如下:

?xml version="1.0" encoding="utf-8"?>
s:GridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
fx:Declarations>
!-- 將非可視元素(例如服務、值對象)放在此處 -->
/fx:Declarations>
fx:Script>
![CDATA[

//----------------------------------------------------------------------------------------------------------

override public function prepare(hasBeenRecycled:Boolean):void
{
super.prepare( hasBeenRecycled );

// We make the radio button mimic the selection status of the whole row.
const selected_items: Vector.Object> = grid.dataGrid.selectedItems;

if( null == selected_items )
{
radio_button.selected = false;
return;
}

if( -1 != selected_items.indexOf( data ) )
radio_button.selected = true;
else
radio_button.selected = false;
}

//----------------------------------------------------------------------------------------------------------

]]>
/fx:Script>

!--The radio button is only a visual indicator for whether the row is selected or not.
The "selected" property of the radio_button will be controlled by the "prepare" function.
The radio_button should not be allowed any user interaction. Hence disabling it.-->
s:RadioButton id="radio_button"
label=""
enabled="false"

horizontalCenter="0" verticalCenter="0" />

/s:GridItemRenderer>
您可能感興趣的文章:
  • 在GridView中LinkButton的屬性的應用(如何不用選中就刪除這一行)
  • 學習ExtJS(二) Button常用方法
  • aspxgridview CustomButtonCallback 不支持彈出消息提示解決方法
  • gridview中實現radiobutton的單選示例
  • 獲取Gridview中ButtonField的text屬性
  • gridview的buttonfield獲取該行的索引值(實例講解)
  • EXT中單擊button按鈕grid添加一行(光標位置可設置)的實例代碼

標簽:欽州 海西 攀枝花 仙桃 滄州 佛山 泰州 呂梁

巨人網絡通訊聲明:本文標題《Flex4 DataGrid中如何嵌入RadioButton》,本文關鍵詞  Flex4,DataGrid,中,如何,嵌入,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《Flex4 DataGrid中如何嵌入RadioButton》相關的同類信息!
  • 本頁收集關于Flex4 DataGrid中如何嵌入RadioButton的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 黑人h系列| 亚洲日韩成人影片在线观看了| 好大?好爽?快点深一点陶软视频| 婬色kkkk4444在线观看视频| 妞干网中文字幕| 韩国r级3小时合集在线观看| 国产精品偷伦精品视频| 欧美一级Av无码毛片久久精品| **色毛片免费看| 男人j放进女人p动态图片| 男女又爽又黄激情免费视频大| 免费看美女被靠到爽的软件| 500福利第一导航| 欧美xxxx性xxxxx高清视频| 亚洲精品无码一区二区今日知乎| JapanHD???护士| 久草麻豆| 色婷婷电影| 无码亚洲一区哺乳期奶水| 俄罗斯女兵做爰视频| 欧美绿奴| 久久国产乱子伦精品免费看| 国产麻豆欧美亚洲综合久久| 性妾在主人胯间伺候| 激情婬乱少妇A片免费看苏妖精| 超乳在线| 久久久久久精品vA品天堂密桃| 免费又爽又刺激A片涩涩真人| 欧美一级片播放| 照美冥被啪羞羞漫画无尽| 亚洲毛片免费视频| 一品村夫| 99久久国产精品免费高潮| 双人床上剧烈运动会怀孕吗| 最近中文字幕MV在线资源| 快播一级片| 成色18k1.8811.7v| 无码亚洲中文字幕91111| 日本亚洲综合| 性迷宫在线完整版免费观看| 爱豆传媒视频免费看|