lundi 13 octobre 2014

What is the gridview listener that refreshes a row layout when the record is updated?

Hi,

I have a grid to which I apply a custom css class to change the cells background color after grid is rendered.


The problem is that every time I updated a record, the specific row linked to that record is refreshed and the css classes I applied are lost.


view.refresh is not causing this, since view refresh is not triggered when updating a record.


So which is the listener responsible of this row refreshing ?


For instance this is a cell before record update:



Code:



<div class="x-grid-cell-inner myCSSClass" style="text-align:left;" id="ext-gen3758">200</div>

And after update it becomes:


Code:



<div class="x-grid-cell-inner " style="text-align:left;">500</div>

I need to keep the myCSSClass there.

Thanks.



What is the gridview listener that refreshes a row layout when the record is updated?

Aucun commentaire:

Enregistrer un commentaire