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

表格行绑定事件参数 更多...

Public 成员函数

 GridRowEventArgs (GridRow row)
 构造函数
 
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)
 设置本行中某个单元格的属性
 

属性

GridRow Row [get]
 当前行
 
JObject[] CellAttributes [get]
 此行单元格的属性
 
string[] CellCssClasses [get]
 此行单元格的样式类
 
string RowCssClass [get, set]
 此行的样式类
 
JObject RowAttributes [get, set]
 此行的属性
 
bool RowSelectable [get, set]
 此行是否可选中
 
object[] Values [get]
 本行各列的值(渲染后的HTML片段)
 
object DataItem [get]
 行数据源
 
int RowIndex [get]
 行索引
 
string RowID [get]
 行ID
 
string RowText [get]
 行文本
 
string RowParentID [get]
 行父节点ID
 
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]
 自定义图标字体的样式类(仅适用于树表格)
 

详细描述

表格行绑定事件参数

构造及析构函数说明

◆ GridRowEventArgs()

FineUIPro.GridRowEventArgs.GridRowEventArgs ( GridRow row)

构造函数

参数
row

成员函数说明

◆ GetCellAttribute()

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

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

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

◆ GetCellCssClass()

string FineUIPro.GridRowEventArgs.GetCellCssClass ( string columnID)

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

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

◆ GetCellValue()

object FineUIPro.GridRowEventArgs.GetCellValue ( string columnID)

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

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

◆ SetCellAttribute()

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

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

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

◆ SetCellCssClass()

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

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

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

◆ SetCellValue()

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

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

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

属性说明

◆ CellAttributes

JObject [] FineUIPro.GridRowEventArgs.CellAttributes
get

此行单元格的属性

◆ CellCssClasses

string [] FineUIPro.GridRowEventArgs.CellCssClasses
get

此行单元格的样式类

◆ DataItem

object FineUIPro.GridRowEventArgs.DataItem
get

行数据源

◆ Row

GridRow FineUIPro.GridRowEventArgs.Row
get

当前行

◆ RowAttributes

JObject FineUIPro.GridRowEventArgs.RowAttributes
getset

此行的属性

◆ RowCssClass

string FineUIPro.GridRowEventArgs.RowCssClass
getset

此行的样式类

◆ RowID

string FineUIPro.GridRowEventArgs.RowID
get

行ID

◆ RowIndex

int FineUIPro.GridRowEventArgs.RowIndex
get

行索引

◆ RowParentID

string FineUIPro.GridRowEventArgs.RowParentID
get

行父节点ID

◆ RowSelectable

bool FineUIPro.GridRowEventArgs.RowSelectable
getset

此行是否可选中

◆ RowText

string FineUIPro.GridRowEventArgs.RowText
get

行文本

◆ TreeNodeCheckBox

bool? FineUIPro.GridRowEventArgs.TreeNodeCheckBox
getset

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

◆ TreeNodeCheckBoxDisabled

bool? FineUIPro.GridRowEventArgs.TreeNodeCheckBoxDisabled
getset

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

◆ TreeNodeChecked

bool? FineUIPro.GridRowEventArgs.TreeNodeChecked
getset

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

◆ TreeNodeExpanded

bool? FineUIPro.GridRowEventArgs.TreeNodeExpanded
getset

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

◆ TreeNodeIcon

Icon FineUIPro.GridRowEventArgs.TreeNodeIcon
getset

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

◆ TreeNodeIconFont

IconFont FineUIPro.GridRowEventArgs.TreeNodeIconFont
getset

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

◆ TreeNodeIconFontClass

string FineUIPro.GridRowEventArgs.TreeNodeIconFontClass
getset

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

◆ TreeNodeIconUrl

string FineUIPro.GridRowEventArgs.TreeNodeIconUrl
getset

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

◆ TreeNodeLeaf

bool? FineUIPro.GridRowEventArgs.TreeNodeLeaf
getset

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

◆ Values

object [] FineUIPro.GridRowEventArgs.Values
get

本行各列的值(渲染后的HTML片段)


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