0

I want to add grid cell border without grid header so I add CSS class for gird. this my CSS class

#table_id td {    
border-color: #A8A8A8 ;
border-style: solid ;
border-width: 1px ;
z-index: 55000 ;
}

Above CSS creates border for gird header. So how can I remove grid header cell border?

Duleep
  • 569
  • 5
  • 25
  • 49

1 Answers1

0

Try this

.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

Your grid :

 Ext.extend(Ext.grid.EditorGridPanel, {
        title: 'Service Request Types and Rates',
        height: 210, 
        cls: 'app-Grid', 
        columnLines: true
});
Dev
  • 3,922
  • 3
  • 24
  • 44
  • i add css class to my grid but don't add cell border. – Duleep Sep 25 '13 at 08:00
  • 'MyEditorGrid3Ui = Ext.extend(Ext.grid.EditorGridPanel, { title: 'Service Request Types and Rates', height: 210, border: false, bodyStyle: 'border-color: #A8A8A8 ;\nborder-style: solid ;\nborder-width: 1px ;\nz-index: 55000 ;', cls: 'app-Grid', columnLines: true, hideBorders: true, bodyCssClass: 'app-Grid.', id: '',' is by grid – Duleep Sep 25 '13 at 08:02