PDA

View Full Version : How to change the default border color of the grid?



cdantony
11 Mar 2011, 12:25 AM
Dear all,

I want to change the default border color(light blue) of the entire grid to navy.

How to do it?

Thanks,
cdantony.

fay
11 Mar 2011, 2:38 AM
You can use the style config option:



var grid = new Ext.grid.GridPanel({
// ...
style: 'border: solid 1px navy',
// ...
});