PDA

View Full Version : [CLOSED] Firefox visualization of Grid Plugin Expander Rows



Raulvadillo
14 Dec 2009, 2:31 AM
I've put a grid in my app wich uses the plugin to expand rows. It's working fine in IE but is not showing the expand button in Firefox 3.5.5. :-?

Two caps to illustrate the bug (the first from IE, the second from FF):

Arno.Nyhm
15 Dec 2009, 6:45 AM
look with firebug into your application and analyse the css style etc.
look also if there some errors in loading some images.

PS:
also be sure if you update to a newer version of GXT that you use also the new gxt-all.css and the new resorces

Raulvadillo
15 Dec 2009, 8:48 AM
This error is produced by the code i've put in the css to resolve the problem of the text larger than the column in Firefox. This problem is resolved by IE putting suspensive dots automatically.

.ext-gecko .x-grid3-cell-inner{
cursor: pointer; cursor: hand; -moz-binding:url('ellipsis-xbl.xml#ellipsis');
}

This is the content of the ellipsis-xbl.xml:

<?xml version="1.0"?>
<bindings
xmlns="http://www.mozilla.org/xbl"
xmlns:xbl="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
>
<binding id="ellipsis">
<content>
<xul:window><!-- xul:window tag required for FF2 -->
<xul:description crop="end" xbl:inherits="value=xbl:text"><children/></xul:description>
</xul:window>
</content>
</binding>
</bindings>


But deleting this code from css resolve one problem creating new one.

Arno.Nyhm
15 Dec 2009, 9:23 AM
maybe you can disable it with something like (you need to find yout the right syntax):




.ext-gecko .x-grid3-cell-inner{
cursor: pointer; cursor: hand; -moz-binding:url('ellipsis-xbl.xml#ellipsis');
}

.ext-gecko .x-grid3-td-expander .x-grid3-cell-inner{
-moz-binding:none;
}

Raulvadillo
16 Dec 2009, 1:06 AM
Thank you very much Arno!

Works fine! :D

Arno.Nyhm
16 Dec 2009, 5:36 AM
it works with the "none"? or with some other changes?

Raulvadillo
16 Dec 2009, 8:09 AM
Works exactly as you post it. ;)