Get cell div id using beforecheckchange listener in extjs grid cell editing
<p>I am using <code>beforeCheckChange</code> listener for <code>checkColumn</code> in extjs grid cell editing.</p>

<p>Once unchecked, I want remove the dirty flag for this cell. So I am trying  to remove <code>"x-grid-dirty-cell"</code> Cls, using cell <code>div</code> id. </p>

<pre><code>Ext.select("ext-gen2654").removeCls('x-grid-dirty-cell');
</code></pre>

<p>Following is listener</p>

<pre><code>listeners: {
    beforecheckchange: me.onCheckcolumnBeforeCheckChange
}

onCheckcolumnBeforeCheckChange: function(comp, rowIndex, checked, eOpts) {  
    Ext.select("ext-gen2654").removeCls('x-grid-dirty-cell');
}
</code></pre>

<p>How do I get the <code>div</code> id for this cell only?</p>

<p>Let me know if we have any alternative to remove dirty record after uncheck.</p>

<p>Edited- display checkbox for alternative records</p>

<pre><code>Ext.getCmp('grid').gridColumns[0]=  {
    xtype: 'checkcolumn',                                               
                dataIndex: 'SELECT',
                width: 55,
                stopSelection: true,
                renderer: function(value, metaData, record, rowIndex, colIndex, store, view) {
                if(row%2==0){  // i need to display alternative checkbox
                    var cssPrefix = Ext.baseCSSPrefix,
                    cls = cssPrefix + 'grid-checkcolumn';


                        if (this.disabled || value == 'N') {
                            metaData.tdCls += ' ' + this.disabledCls;
                        }
                if (!value) {
                cls += ' ' + cssPrefix + 'grid-checkcolumn-checked';
                }

                    return '&lt;img class="' + cls + '" src="' + Ext.BLANK_IMAGE_URL + '"/&gt;';
                        }

            }

,

try listener code to remove dirty mark, but no luck

    onCheckcolumnBeforeCheckChange: function(comp, rowIndex, checked, eOpts) {  
        var store=Ext.getCmp('grid').getStore();
        var record= store.getAt(rowIndex);
        if(checked==true){  
        record.dirty= false;
        record.commit();    
        store.commitChanges();

        }
</code></pre>