Skip to content

Ext.grid.RowEditorButtons

xtype 为 roweditorbuttons 的 Ext JS 原生组件参考。

Updated View as Markdown

源码定义:ext-all-debug.js:117375。分类:数据视图、表格与树。

创建示例

var component = Ext.create("Ext.grid.RowEditorButtons", {
  xtype: "roweditorbuttons",
  frame: true,
  position: 'bottom',
  shrinkWrap: true,
  renderTo: Ext.getBody()
});

属性

属性 类型 默认值 说明 配置示例
frame Boolean true 控制是否启用 frame 行为。 frame: true
position String 'bottom' 配置组件的 position 选项。 position: 'bottom'
shrinkWrap Boolean true 控制是否启用 shrinkWrap 行为。 shrinkWrap: true

方法

方法 参数 说明 调用示例
setButtonPosition position 设置 buttonPosition。 执行时会更新 position 状态。源码涉及 removeClsWithUI()addClsWithUI() component.setButtonPosition(...)
getFramingInfoCls `` 读取并返回 framingInfoCls component.getFramingInfoCls()
getFrameInfo `` 调用并直接返回父类的值,不对结果作额外转换。 component.getFrameInfo()

事件

源码中未找到该组件自身注册的事件;可监听继承事件。

Navigation

Type to search…

↑↓ navigate↵ selectEsc close