简体   繁体   中英

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

How to make row editor visible all the time in extJS roweditor..

I am using extJS grid and row ediotr pluing in the grid. 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. 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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