tags:

views:

15

answers:

1

hi everyone

I am facing a very strange problem. I have a grid and when i CLICK on any row then grid automatically goes to first record, though the row on which i click is selected but not focused.

The problem is strange because when i used that same grid as an example then there was no problem and everything works fine.

I really dont understand what could cause this problem? i haven't overridden any listeners to scroll to top then??????????

Please help me ......

Thanks alot in advance, Regards

A: 

Hi everyone...I finally found answer to my problem.

For other who have this problem... simply add following code:-

Ext.grid.GridView.override({
    syncFocus : false,
    focusCell : function(row, col, hscroll) {}
})

Regards