PDA

View Full Version : ctrl F misaligns header and columns in locked grid



Satheeshkumar RC
28 Oct 2013, 10:20 PM
Hi,
I am using extJs grid with locked grid functionality. Only problem is that when we are finding a text using CTRL+F (naive funtion of the browser) and if there is a horizontal scrollbar then the header and the column misaligns. This automatically corrects once we do any scrolling on the grid. Please find the screenshot attachment that shows this problem.

46604Could anyone help me with solution to this problem?

Gary Schlosberg
31 Oct 2013, 6:38 PM
I wasn't able to get a locking grid to do that, but it sounds like a bug. In which browser are you seeing this issue? Can you post a test case which reproduces the problem?

evant
31 Oct 2013, 6:53 PM
It syncs the headers using the grid scroll state. It's possible that the underlying browser API doesn't trigger a scroll on the element when searching text.

Not really sure what else we can do if that's the case.

Satheeshkumar RC
4 Nov 2013, 10:31 PM
Hi,
Thanks for the reply. I'm using IE 9 and Chrome.

mazhar.shaikh
11 Nov 2013, 6:06 PM
I agree. Happens in my code as well. Using Chrome latest version.
Unfortunately I couldnt recreate it on jsfiddle.