Note that there are some explanatory texts on larger screens.

plurals
  1. POHide collapsible image into just one grid
    primarykey
    data
    text
    <p>as the title says I need to hide the collapsible image from one grid (I have many in the same web), and I cannot simply change the css because then every grid in my web would do the same, I want just that grid to have no background image.</p> <p>I have tried to create a css class with <code>background-image: none</code> and change the bodyCssClass, baseCls, cls configs, but I don't obtain the expected behaviour.</p> <p>Any idea?</p> <p>EDIT 1:</p> <p><strong>GridPanel code:</strong></p> <pre><code>var grid = new Ext.grid.GridPanel({ id: "gridPanel1", disableSelection: true, frame: true, title: "Centers", //autoHeight: true, height: 415, width: 500, store: store, colModel: new Ext.grid.ColumnModel(items), ctCls: 'noCollapsable', view: groupingVi, sm: selectionMod }); </code></pre> <p><strong>css:</strong></p> <pre><code>.noCollapsable{ background-image: none !important; } </code></pre> <p>EDIT 2:</p> <p>Yes! It's exactly like that example ( <a href="http://dev.sencha.com/deploy/ext-4.1.0-gpl/examples/grid/groupgrid.html" rel="nofollow">http://dev.sencha.com/deploy/ext-4.1.0-gpl/examples/grid/groupgrid.html</a> ), but the background image it's in the</p> <pre><code> &lt;div class="x-grid-group-title"&gt;Cuisine: CountryX (Y Items)&lt;/div&gt; </code></pre> <p>and I don't have idea of how to use the Ext DomHelper or anything to change those divs' css inside this structure:</p> <pre><code>&lt;tr id="gridview-1013-hd-CountryX" class="x-grid-group-hd x-grid-group-hd-collapsed"&gt; &lt;td class="x-grid-cell" colspan="2" style="padding-left:0px;"&gt; &lt;div class="x-grid-cell-inner"&gt; &lt;div class="x-grid-group-title"&gt;Cuisine: Country X (Y Items)&lt;/div&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; </code></pre> <p>In which I could use first tr's id to distingish from the other grids, but as I said, I don't know how to access those divs</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload