i.stojanovic
6 May 2011, 1:35 AM
Hi,
ExtJS 4 has changed the way of displaying icons in the grid header.
In the version 3 was necessary, within the definition of columns, to define the ID for the column, for example. id: 'colFlag', and create CSS class
.x-grid3-hd-colFlag { background:transparent url(/images/flag_red.png) no-repeat 3px 3px !important; text-indent:-250px; }
Version 4 is the other defining the id of a grid column, but changed the method of defining class.
#colFlag .x-column-header-inner { background:transparent url(/images/flag_red.png) no-repeat 3px 3px !important; text-indent:-250px; }
I hope that someone will be helpful
Greeting
------
www.codelighter.com
(http://www.codelighter.com/)There are 10 types of people in this world, those who understand binary and those who
ExtJS 4 has changed the way of displaying icons in the grid header.
In the version 3 was necessary, within the definition of columns, to define the ID for the column, for example. id: 'colFlag', and create CSS class
.x-grid3-hd-colFlag { background:transparent url(/images/flag_red.png) no-repeat 3px 3px !important; text-indent:-250px; }
Version 4 is the other defining the id of a grid column, but changed the method of defining class.
#colFlag .x-column-header-inner { background:transparent url(/images/flag_red.png) no-repeat 3px 3px !important; text-indent:-250px; }
I hope that someone will be helpful
Greeting
------
www.codelighter.com
(http://www.codelighter.com/)There are 10 types of people in this world, those who understand binary and those who