FineUIPro 12.1.0
全栈 ASP.NET 低代码开发框架
载入中...
搜索中...
未找到
FineUIPro.GridRow类 参考

表格行 更多...

Public 成员函数

 GridRow ()
 构造函数
 
 GridRow (Grid grid, object dataItem, int rowIndex)
 构造函数
 
void InitTemplateContainers ()
 表格行中模板列控件列表(数据绑定时自动生成每个模板列控件ID,回发时从FState中回发模板列控件ID)
 
Control FindControl (string id)
 查找表格行内的控件
 
object GetCellValue (string columnID)
 获取本行中某个单元格的值
 
void SetCellValue (string columnID, object value)
 设置本行中某个单元格的值
 
string GetCellCssClass (string columnID)
 获取本行中某个单元格的样式类
 
void SetCellCssClass (string columnID, string cellCssClass)
 设置本行中某个单元格的样式类
 
string GetCellAttribute (string columnID, string attrKey)
 获取本行中某个单元格的属性
 
void SetCellAttribute (string columnID, string attrKey, string attrValue)
 设置本行中某个单元格的属性
 

属性

Grid Grid [get]
 表格实例
 
object DataItem [get, set]
 本行对应的数据源(仅在数据绑定时存在,页面回发时为空)
 
int RowIndex [get, set]
 第几行
 
string RowGroup [get]
 此行DataRowGroupField字段的值
 
object[] Values [get, set]
 此行的状态信息(对应于表格列,Values数组的长度等于表格的列数)
 
object[] DataKeys [get]
 此行DataKeyNames字段的值
 
string RowID [get]
 此行DataIDField字段的值
 
string RowText [get]
 此行DataTextField字段的值
 
string RowParentID [get]
 此行DataParentIDField字段的值
 
string[] CellCssClasses [get, set]
 此行单元格的样式类
 
JObject[] CellAttributes [get, set]
 此行单元格的属性
 
JObject RowAttributes [get, set]
 此行的属性
 
string RowCssClass [get, set]
 此行的样式类
 
bool RowSelectable [get, set]
 此行是否可选中
 
bool? TreeNodeCheckBoxDisabled [get, set]
 是否禁用复选框(仅适用于树表格)
 
bool? TreeNodeCheckBox [get, set]
 此行是否显示复选框(仅适用于树表格)
 
bool? TreeNodeChecked [get, set]
 此行是否选中(仅适用于树表格)
 
bool? TreeNodeExpanded [get, set]
 此行是否展开(仅适用于树表格)
 
bool? TreeNodeLeaf [get, set]
 此行是否叶子节点(仅适用于树表格)
 
string TreeNodeIconUrl [get, set]
 图标地址(仅适用于树表格)
 
Icon TreeNodeIcon [get, set]
 预定义图标(仅适用于树表格)
 
IconFont TreeNodeIconFont [get, set]
 预定义图标字体(仅适用于树表格)
 
string TreeNodeIconFontClass [get, set]
 自定义图标字体的样式类(仅适用于树表格)
 
GridTemplateContainer[] TemplateContainers [get, set]
 表格行中模板列控件列表,一个典型的例子为:[GridRowControl, null, null, GridRowControl, null, null, null, null, null]
 

详细描述

表格行

构造及析构函数说明

◆ GridRow() [1/2]

FineUIPro.GridRow.GridRow ( )

构造函数

◆ GridRow() [2/2]

FineUIPro.GridRow.GridRow ( Grid grid,
object dataItem,
int rowIndex )

构造函数

参数
grid表格实例
dataItem行对应的数据源(在回发时为null)
rowIndex行序号

成员函数说明

◆ FindControl()

Control FineUIPro.GridRow.FindControl ( string id)

查找表格行内的控件

参数
id
返回

◆ GetCellAttribute()

string FineUIPro.GridRow.GetCellAttribute ( string columnID,
string attrKey )

获取本行中某个单元格的属性

参数
columnID列标识符(对应于列的ColumnID属性)
attrKey单元格的属性键
返回
单元格的属性值

◆ GetCellCssClass()

string FineUIPro.GridRow.GetCellCssClass ( string columnID)

获取本行中某个单元格的样式类

参数
columnID列标识符(对应于列的ColumnID属性)
返回
单元格的样式类

◆ GetCellValue()

object FineUIPro.GridRow.GetCellValue ( string columnID)

获取本行中某个单元格的值

参数
columnID列标识符(对应于列的ColumnID属性)
返回
单元格的值

◆ InitTemplateContainers()

void FineUIPro.GridRow.InitTemplateContainers ( )

表格行中模板列控件列表(数据绑定时自动生成每个模板列控件ID,回发时从FState中回发模板列控件ID)

◆ SetCellAttribute()

void FineUIPro.GridRow.SetCellAttribute ( string columnID,
string attrKey,
string attrValue )

设置本行中某个单元格的属性

参数
columnID列标识符(对应于列的ColumnID属性)
attrKey单元格的属性键
attrValue单元格的属性值

◆ SetCellCssClass()

void FineUIPro.GridRow.SetCellCssClass ( string columnID,
string cellCssClass )

设置本行中某个单元格的样式类

参数
columnID列标识符(对应于列的ColumnID属性)
cellCssClass单元格的样式类

◆ SetCellValue()

void FineUIPro.GridRow.SetCellValue ( string columnID,
object value )

设置本行中某个单元格的值

参数
columnID列标识符(对应于列的ColumnID属性)
value单元格的值

属性说明

◆ CellAttributes

JObject [] FineUIPro.GridRow.CellAttributes
getset

此行单元格的属性

◆ CellCssClasses

string [] FineUIPro.GridRow.CellCssClasses
getset

此行单元格的样式类

◆ DataItem

object FineUIPro.GridRow.DataItem
getset

本行对应的数据源(仅在数据绑定时存在,页面回发时为空)

◆ DataKeys

object [] FineUIPro.GridRow.DataKeys
get

此行DataKeyNames字段的值

◆ Grid

Grid FineUIPro.GridRow.Grid
get

表格实例

◆ RowAttributes

JObject FineUIPro.GridRow.RowAttributes
getset

此行的属性

◆ RowCssClass

string FineUIPro.GridRow.RowCssClass
getset

此行的样式类

◆ RowGroup

string FineUIPro.GridRow.RowGroup
get

此行DataRowGroupField字段的值

◆ RowID

string FineUIPro.GridRow.RowID
get

此行DataIDField字段的值

◆ RowIndex

int FineUIPro.GridRow.RowIndex
getset

第几行

◆ RowParentID

string FineUIPro.GridRow.RowParentID
get

此行DataParentIDField字段的值

◆ RowSelectable

bool FineUIPro.GridRow.RowSelectable
getset

此行是否可选中

◆ RowText

string FineUIPro.GridRow.RowText
get

此行DataTextField字段的值

◆ TemplateContainers

GridTemplateContainer [] FineUIPro.GridRow.TemplateContainers
getset

表格行中模板列控件列表,一个典型的例子为:[GridRowControl, null, null, GridRowControl, null, null, null, null, null]

◆ TreeNodeCheckBox

bool? FineUIPro.GridRow.TreeNodeCheckBox
getset

此行是否显示复选框(仅适用于树表格)

◆ TreeNodeCheckBoxDisabled

bool? FineUIPro.GridRow.TreeNodeCheckBoxDisabled
getset

是否禁用复选框(仅适用于树表格)

◆ TreeNodeChecked

bool? FineUIPro.GridRow.TreeNodeChecked
getset

此行是否选中(仅适用于树表格)

◆ TreeNodeExpanded

bool? FineUIPro.GridRow.TreeNodeExpanded
getset

此行是否展开(仅适用于树表格)

◆ TreeNodeIcon

Icon FineUIPro.GridRow.TreeNodeIcon
getset

预定义图标(仅适用于树表格)

◆ TreeNodeIconFont

IconFont FineUIPro.GridRow.TreeNodeIconFont
getset

预定义图标字体(仅适用于树表格)

◆ TreeNodeIconFontClass

string FineUIPro.GridRow.TreeNodeIconFontClass
getset

自定义图标字体的样式类(仅适用于树表格)

◆ TreeNodeIconUrl

string FineUIPro.GridRow.TreeNodeIconUrl
getset

图标地址(仅适用于树表格)

◆ TreeNodeLeaf

bool? FineUIPro.GridRow.TreeNodeLeaf
getset

此行是否叶子节点(仅适用于树表格)

◆ Values

object [] FineUIPro.GridRow.Values
getset

此行的状态信息(对应于表格列,Values数组的长度等于表格的列数)


该类的文档由以下文件生成: