Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css ExtJs 3.:如何为栅格主体单元添加边框(无栅格标头)_Css_Extjs_Extjs3_Extjs Grid - Fatal编程技术网

Css ExtJs 3.:如何为栅格主体单元添加边框(无栅格标头)

Css ExtJs 3.:如何为栅格主体单元添加边框(无栅格标头),css,extjs,extjs3,extjs-grid,Css,Extjs,Extjs3,Extjs Grid,我想添加没有网格头的网格单元格边框,所以我为网格添加了CSS类。 这是我的CSS课 #table_id td { border-color: #A8A8A8 ; border-style: solid ; border-width: 1px ; z-index: 55000 ; } 上面的CSS为网格标头创建边框。那么如何删除网格标题单元格边框呢?试试这个 .app-Grid table tr.x-grid-row, .app-Grid table tr td.x-grid-cell

我想添加没有网格头的网格单元格边框,所以我为网格添加了CSS类。 这是我的CSS课

#table_id td {    
border-color: #A8A8A8 ;
border-style: solid ;
border-width: 1px ;
z-index: 55000 ;
}
上面的CSS为网格标头创建边框。那么如何删除网格标题单元格边框呢?

试试这个

.app-Grid table tr.x-grid-row,
.app-Grid table tr td.x-grid-cell
 {
     height: 36px;
     border-color: #555;
 }
//app-Grid is the css class applied to your grid
您的网格:

 Ext.extend(Ext.grid.EditorGridPanel, {
        title: 'Service Request Types and Rates',
        height: 210, 
        cls: 'app-Grid', 
        columnLines: true
});

我将css类添加到网格中,但不添加单元格边框。'MyEditorGrid3Ui=Ext.extend(Ext.grid.EditorGridPanel,{标题:“服务请求类型和费率”,高度:210,边框:false,bodyStyle:“边框颜色:#A8A8A8;\n顺序样式:纯色;\n顺序宽度:1px;\nz索引:55000;”,cls:“应用程序网格”,列线:true,隐藏顺序:true,bodyCssClass:“应用程序网格”,id:“,”按网格显示