简体   繁体   English

如何使行编辑器在 extJS 行编辑器中始终可见

[英]How to make row editor visible all the time in extJS roweditor

How to make row editor visible all the time in extJS roweditor..如何使行编辑器在 extJS 行编辑器中始终可见..

I am using extJS grid and row ediotr pluing in the grid.我在网格中使用 extJS 网格和行编辑器。 I want to make my row editor visible all the time.我想让我的行编辑器一直可见。

  1. Currently it happening when I am clicking into the row/cell.当前,当我单击行/单元格时会发生这种情况。

I want overide activateCell as soon as I load the gridso it become visible in grid.我想在加载网格后立即覆盖 activateCell 以便它在网格中可见。 Any solution for this.对此的任何解决方案。 I am overiding the grid plugin.我正在覆盖网格插件。

You can try aplly something like:你可以尝试像这样:

gridcolumn:
{
    text: 'Some Text', 
    dataIndex: 'Color',
    renderer: function (value, meta) {
        meta.style = 'border: 1px solid grey;';
        return value;
    },
    editor: {
      xtype: 'textfield
    } 
}

Great article about grid styles: http://skirtlesden.com/articles/styling-extjs-grid-cells关于网格样式的好文章: http : //skirtlesden.com/articles/styling-extjs-grid-cells

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM