PDA

View Full Version : How to remove move-over effect to the grid ros



veeresh.hubballi
23 Apr 2012, 4:56 AM
I have a grid where i need to remove the mouse hover effect for the particular row on some condition.
I am am doing this by removing the CSS of the row using the method

view.removeRowCls(rowIndex,'x-grid-row');

But when i do this i loose and the events associated with the row
Example i cannot call the listener cellclick after removing the CSS.

Is there a way where i remove the mouse hover feel without loosing the listener events.

mitchellsimoens
23 Apr 2012, 8:02 AM
Why not set the trackOver config in the viewConfig to false?


viewConfig : {
trackOver : false
}

veeresh.hubballi
23 Apr 2012, 10:15 PM
Thanks for your response Mitchell.
But i need to make trackOver:false for a particular row,not for the entire view.