PDA

View Full Version : Problem with GridFilter and icons



luisoswaldo
18 Jun 2011, 2:38 PM
I have a problem with icons

The problem is that the icons out mounted above each other in the case of numeric fields. And the image of the text fields (find image) only appears in firefox and not in other browsers.

I leave you a screenshot of the problem

www.desarrollopaginasweb.com.ve/archivos/firebug.JPG
www.desarrollopaginasweb.com.ve/archivos/filter.JPG

So I add the style sheets. It is necessary to do something else?



<style type="text/css" title="currentStyle" media="screen">
@import "lib/extjs/resources/css/ext-all.css";
@import "lib/extjs/plugins/GridFilter/resources/style.css";

.x-grid3-hd-row td.ux-filtered-column {
font-style: italic;
font-weight: bold;
}
</style>

//In onReady

Ext.onReady(function(){

Ext.QuickTips.init();

Ext.ux.menu.RangeMenu.prototype.icons = {
gt: 'lib/extjs/plugins/GridFilter/resources/greater_then.png',
lt: 'lib/extjs/plugins/GridFilter/resources/less_then.png',
eq: 'lib/extjs/plugins/GridFilter/resources/equals.png'
};
Ext.ux.grid.filter.StringFilter.prototype.icon = 'img/find.png';



Appreciate any help I can offer.

luisoswaldo
18 Jun 2011, 7:14 PM
Sorry, I did not know what was coming and the Ext plugin by default in 3.x