表格控件帮助类 更多...
Public 成员函数 | |
| GridAjaxHelper (Grid source) | |
| 构造函数 | |
| void | HideColumn (string columnId) |
| 隐藏列 | |
| void | ShowColumn (string columnId) |
| 显示列 | |
| void | SelectedRowIDArray (params string[] selectedRows) |
| 设置选中行 | |
| void | SelectedRowIndexArray (params int[] selectedRows) |
| 设置选中行 | |
| void | SortField (string sortField, string sortDirection) |
| 设置排序字段和方向 | |
| void | SortFieldArray (string[] sortFields) |
| 设置排序字段列表(仅适用于多列排序) | |
| void | PageIndex (int pageIndex) |
| 设置分页索引 | |
| void | PageSize (int pageSize) |
| 设置每页显示项数 | |
| void | RecordCount (int recordCount) |
| 设置总记录数 | |
| void | PageOptions (int? recordCount=null, int? pageSize=null, int? pageIndex=null) |
| 设置分页选项 | |
| void | SummaryData (JObject summaryData) |
| 设置合计行数据 | |
| void | SummaryDataArray (JArray summaryDataArray) |
| 设置合计行数据 | |
| void | SummaryData (int summaryRowIndex, JObject summaryData) |
| 设置合计行数据 | |
| void | DataSource (object dataSource, bool clearSelection=true) |
| 设置数据源 | |
| void | DataSource (object dataSource, JArray fields, bool clearSelection=true) |
| 设置数据源 | |
| void | DataSource (object dataSource, string[] fields, bool clearSelection=true) |
| 设置数据源 | |
| void | FilteredData (JArray filteredData) |
| 更新过滤数据 | |
| void | AppendData (object dataSource, string[] fields) |
| 追加数据 | |
| void | ConfigColumns (List< GridColumn > columns, GridConfigOptions configOptions) |
| 重新配置表格列 | |
| void | ConfigColumns (GridColumn[] columns, GridConfigOptions configOptions) |
| 重新配置表格列 | |
| void | ConfigColumns (List< GridColumn > columns, GridConfigOptions configOptions, object dataSource) |
| 重新配置表格列并绑定数据 | |
| void | ConfigColumns (GridColumn[] columns, GridConfigOptions configOptions, object dataSource) |
| 重新配置表格列并绑定数据 | |
| void | DataSource (string parentRowId, object dataSource) |
| 加载数据(启用树表格) | |
| void | DataSource (string parentRowId, object dataSource, JArray fields) |
| 加载数据(启用树表格) | |
| void | DataSource (string parentRowId, object dataSource, string[] fields) |
| 加载数据(启用树表格) | |
| void | LoadData (string parentRowId, object dataSource) |
| 加载数据(启用树表格) | |
| void | LoadData (string parentRowId, object dataSource, JArray fields) |
| 加载数据(启用树表格) | |
| void | LoadData (string parentRowId, object dataSource, string[] fields) |
| 加载数据(启用树表格) | |
| void | DataUrl (string dataUrl) |
| 设置网址数据源 | |
| void | SelectAllRows () |
| 选中所有行 | |
| void | DeselectAllRows () |
| 取消选中所有行 | |
| void | ExpandRowExpanders () |
| 展开全部的行扩展列 | |
| void | CollapseRowExpanders () |
| 折叠全部的行扩展列 | |
| void | LoadSortData (string sortField, string sortDirection) |
| 设置排序字段并重新加载数据(客户端排序) | |
| void | LoadPageData (int pageIndex) |
| 设置分页索引并重新加载数据(客户端分页) | |
| Public 成员函数 继承自 FineUICore.CollapsablePanelAjaxHelper< T, TAjaxHelper > | |
| CollapsablePanelAjaxHelper (CollapsablePanel source) | |
| 构造函数 | |
| void | Expand () |
| 展开面板 | |
| void | Collapse () |
| 折叠面板 | |
| void | Collapsed (bool collapsed) |
| 设置面板的折叠状态 | |
| void | Title (string text) |
| 设置面板标题文本 | |
| void | TitleToolTip (string text) |
| 设置面板标题的提示文本 | |
| void | IconFont (IconFont iconFont) |
| 设置图标 | |
| void | IconFont (IconFont iconFont, string iconFontClass) |
| 设置图标 | |
| void | IconUrl (string iconUrl) |
| 设置图标 | |
| void | Icon (Icon icon) |
| 设置图标 | |
| Public 成员函数 继承自 FineUICore.PanelBaseAjaxHelper< T, TAjaxHelper > | |
| PanelBaseAjaxHelper (PanelBase source) | |
| 构造函数 | |
| void | RefreshIFrame () |
| 刷新面板中的IFrame页面 | |
| string | GetRefreshIFrameReference () |
| 获取刷新面板中IFrame页面的客户端脚本 | |
| void | ClearDirty () |
| 清空面板内表单字段的改变状态 | |
| string | GetClearDirtyReference () |
| 获取清空面板内表单字段改变状态的客户端脚本 | |
| void | Reset () |
| 重置面板中所有字段 | |
| string | GetResetReference () |
| 获取重置面板中所有字段的客户端脚本 | |
| Public 成员函数 继承自 FineUICore.ContainerAjaxHelper< T, TAjaxHelper > | |
| ContainerAjaxHelper (Container source) | |
| 构造函数 | |
| Public 成员函数 继承自 FineUICore.BoxComponentAjaxHelper< T, TAjaxHelper > | |
| BoxComponentAjaxHelper (BoxComponent source) | |
| 构造函数 | |
| Public 成员函数 继承自 FineUICore.ComponentAjaxHelper< T, TAjaxHelper > | |
| ComponentAjaxHelper (Component source) | |
| 构造函数 | |
| void | ApplyStyles (string styles) |
| 设置控件样式 | |
| void | CssStyle (string styles) |
| 设置控件样式 | |
| void | AddCssClass (string cssClass) |
| 添加控件样式类 | |
| void | RemoveCssClass (string cssClass) |
| 删除控件样式类 | |
| Public 成员函数 继承自 FineUICore.ControlBaseAjaxHelper< T, TAjaxHelper > | |
| ControlBaseAjaxHelper (ControlBase source) | |
| 构造函数 | |
| virtual void | Enabled (bool enabled) |
| 设置控件的启用状态 | |
| virtual void | Disabled (bool disabled) |
| 设置控件的禁用状态 | |
| virtual void | Hidden (bool hidden) |
| 设置控件的隐藏状态 | |
| virtual void | Attribute (string key, string value) |
| 设置HTML标签属性 | |
属性 | |
| new Grid | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUICore.CollapsablePanelAjaxHelper< T, TAjaxHelper > | |
| new CollapsablePanel | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUICore.PanelBaseAjaxHelper< T, TAjaxHelper > | |
| new PanelBase | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUICore.ContainerAjaxHelper< T, TAjaxHelper > | |
| new Container | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUICore.BoxComponentAjaxHelper< T, TAjaxHelper > | |
| new BoxComponent | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUICore.ComponentAjaxHelper< T, TAjaxHelper > | |
| new Component | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUICore.ControlBaseAjaxHelper< T, TAjaxHelper > | |
| ControlBase | Source [get] |
| 当前控件 | |
表格控件帮助类
| FineUICore.GridAjaxHelper.GridAjaxHelper | ( | Grid | source | ) |
构造函数
| source |
| void FineUICore.GridAjaxHelper.AppendData | ( | object | dataSource, |
| string[] | fields ) |
追加数据
| dataSource | |
| fields |
| void FineUICore.GridAjaxHelper.CollapseRowExpanders | ( | ) |
折叠全部的行扩展列
| void FineUICore.GridAjaxHelper.ConfigColumns | ( | GridColumn[] | columns, |
| GridConfigOptions | configOptions ) |
重新配置表格列
| columns | |
| configOptions |
| void FineUICore.GridAjaxHelper.ConfigColumns | ( | GridColumn[] | columns, |
| GridConfigOptions | configOptions, | ||
| object | dataSource ) |
重新配置表格列并绑定数据
| columns | |
| configOptions | |
| dataSource |
| void FineUICore.GridAjaxHelper.ConfigColumns | ( | List< GridColumn > | columns, |
| GridConfigOptions | configOptions ) |
重新配置表格列
| columns | |
| configOptions |
| void FineUICore.GridAjaxHelper.ConfigColumns | ( | List< GridColumn > | columns, |
| GridConfigOptions | configOptions, | ||
| object | dataSource ) |
重新配置表格列并绑定数据
| columns | |
| configOptions | |
| dataSource |
| void FineUICore.GridAjaxHelper.DataSource | ( | object | dataSource, |
| bool | clearSelection = true ) |
设置数据源
| dataSource | |
| clearSelection |
| void FineUICore.GridAjaxHelper.DataSource | ( | object | dataSource, |
| JArray | fields, | ||
| bool | clearSelection = true ) |
设置数据源
| dataSource | |
| fields | |
| clearSelection |
| void FineUICore.GridAjaxHelper.DataSource | ( | object | dataSource, |
| string[] | fields, | ||
| bool | clearSelection = true ) |
设置数据源
| dataSource | |
| fields | |
| clearSelection |
| void FineUICore.GridAjaxHelper.DataSource | ( | string | parentRowId, |
| object | dataSource ) |
加载数据(启用树表格)
| parentRowId | |
| dataSource |
| void FineUICore.GridAjaxHelper.DataSource | ( | string | parentRowId, |
| object | dataSource, | ||
| JArray | fields ) |
加载数据(启用树表格)
| parentRowId | |
| dataSource | |
| fields |
| void FineUICore.GridAjaxHelper.DataSource | ( | string | parentRowId, |
| object | dataSource, | ||
| string[] | fields ) |
加载数据(启用树表格)
| parentRowId | |
| dataSource | |
| fields |
| void FineUICore.GridAjaxHelper.DataUrl | ( | string | dataUrl | ) |
设置网址数据源
| dataUrl |
| void FineUICore.GridAjaxHelper.DeselectAllRows | ( | ) |
取消选中所有行
| void FineUICore.GridAjaxHelper.ExpandRowExpanders | ( | ) |
展开全部的行扩展列
| void FineUICore.GridAjaxHelper.FilteredData | ( | JArray | filteredData | ) |
更新过滤数据
| filteredData |
| void FineUICore.GridAjaxHelper.HideColumn | ( | string | columnId | ) |
隐藏列
| columnId |
| void FineUICore.GridAjaxHelper.LoadData | ( | string | parentRowId, |
| object | dataSource ) |
加载数据(启用树表格)
| parentRowId | |
| dataSource |
| void FineUICore.GridAjaxHelper.LoadData | ( | string | parentRowId, |
| object | dataSource, | ||
| JArray | fields ) |
加载数据(启用树表格)
| parentRowId | |
| dataSource | |
| fields |
| void FineUICore.GridAjaxHelper.LoadData | ( | string | parentRowId, |
| object | dataSource, | ||
| string[] | fields ) |
加载数据(启用树表格)
| parentRowId | |
| dataSource | |
| fields |
| void FineUICore.GridAjaxHelper.LoadPageData | ( | int | pageIndex | ) |
设置分页索引并重新加载数据(客户端分页)
| pageIndex |
| void FineUICore.GridAjaxHelper.LoadSortData | ( | string | sortField, |
| string | sortDirection ) |
设置排序字段并重新加载数据(客户端排序)
| sortField | |
| sortDirection |
| void FineUICore.GridAjaxHelper.PageIndex | ( | int | pageIndex | ) |
设置分页索引
| pageIndex |
| void FineUICore.GridAjaxHelper.PageOptions | ( | int? | recordCount = null, |
| int? | pageSize = null, | ||
| int? | pageIndex = null ) |
设置分页选项
| recordCount | 总记录数 |
| pageSize | 每页显示项数 |
| pageIndex | 分页索引 |
| void FineUICore.GridAjaxHelper.PageSize | ( | int | pageSize | ) |
设置每页显示项数
| pageSize |
| void FineUICore.GridAjaxHelper.RecordCount | ( | int | recordCount | ) |
设置总记录数
| recordCount |
| void FineUICore.GridAjaxHelper.SelectAllRows | ( | ) |
选中所有行
| void FineUICore.GridAjaxHelper.SelectedRowIDArray | ( | params string[] | selectedRows | ) |
设置选中行
| selectedRows |
| void FineUICore.GridAjaxHelper.SelectedRowIndexArray | ( | params int[] | selectedRows | ) |
设置选中行
| selectedRows |
| void FineUICore.GridAjaxHelper.ShowColumn | ( | string | columnId | ) |
显示列
| columnId |
| void FineUICore.GridAjaxHelper.SortField | ( | string | sortField, |
| string | sortDirection ) |
设置排序字段和方向
| sortField | |
| sortDirection |
| void FineUICore.GridAjaxHelper.SortFieldArray | ( | string[] | sortFields | ) |
设置排序字段列表(仅适用于多列排序)
| sortFields |
| void FineUICore.GridAjaxHelper.SummaryData | ( | int | summaryRowIndex, |
| JObject | summaryData ) |
设置合计行数据
| summaryRowIndex | 合计行索引 |
| summaryData | 合计行数据 |
| void FineUICore.GridAjaxHelper.SummaryData | ( | JObject | summaryData | ) |
设置合计行数据
| summaryData | 合计行数据 |
| void FineUICore.GridAjaxHelper.SummaryDataArray | ( | JArray | summaryDataArray | ) |
设置合计行数据
| summaryDataArray | 合计行数据 |
|
get |