ParamQuery grid support forum

General Category => Bug Report => Topic started by: jkoci@volny.cz on March 08, 2015, 03:29:27 pm

Title: Clicking cell at bottom of grid moves it to be whole visible
Post by: jkoci@volny.cz on March 08, 2015, 03:29:27 pm
Hello,

I can see that clicking the very bottom cell in your "cell selection" demo (which is partially hidden) causes the grid move vertically in order to have the selected cell completely visible. This is good and expected behavior.
But in my grid (which seems to use same parameters as in your demo) repositioning works wrong - it moves the bottom cell somewhere above top of visible area and somehow selects range from that cell to rowdndx+visible rows...

see screens.

Any help appreciated.

Thanks Jan
Title: Re: Clicking cell at bottom of grid moves it to be whole visible
Post by: paramvir on March 09, 2015, 09:42:31 am
Which version are you using.

Could you please share a jsfiddle so that the issue could be reproduced.

http://jsfiddle.net/b6b710mz/9/
Title: Re: Clicking cell at bottom of grid moves it to be whole visible
Post by: jkoci@volny.cz on March 28, 2015, 07:40:24 pm
Hello.

I am using 2.4.0.

See attached zip which contains wrong behavior sample. Just click on the bottom most row which is partially hidden.

Thanks,

Jan
Title: Re: Clicking cell at bottom of grid moves it to be whole visible
Post by: paramvir on March 28, 2015, 08:23:52 pm
Could you include the missing dependencies and check whether your attached sample is working before posting.

or better please share a jsfiddle which already includes the required dependencies.

http://jsfiddle.net/b6b710mz/9/
Title: Re: Clicking cell at bottom of grid moves it to be whole visible
Post by: jkoci@volny.cz on March 28, 2015, 08:43:58 pm
Although my zip seems to work I have updated jsfiddle mentioned above. Error can be reproduced either there. Version 80

Thanks.
Title: Re: Clicking cell at bottom of grid moves it to be whole visible
Post by: paramvir on March 30, 2015, 03:16:26 pm
Even though I couldn't reproduce exactly the issue as mentioned by you in that jsfiddle, I could see a slight variant of it i.e., when you press mouse button on the bottom cell and don't leave the button immediately it causes the view to scroll / redraw couple of times.

As a fix to above, please specify height of the icons used in rows.

<img src ="..imgPrint.gif" height = "xx" />

<img src ="..imgEdit.gif" height = "yy" />
Title: Re: Clicking cell at bottom of grid moves it to be whole visible
Post by: jkoci@volny.cz on April 01, 2015, 11:09:30 pm
Hi.

Thank you for a reply, I have tried to use inline styles for images as recommended, but it did not help.
I saved here screen animations how can I reproduce the error.

http:\\www.optisoft.cz\tst\tst.htm

Jan
Title: Re: Clicking cell at bottom of grid moves it to be whole visible
Post by: paramvir on April 02, 2015, 09:20:35 pm
Yes I see that issue in IE which causes page scroll when clicked at the bottom cell.

though it works fine with virtualY: false.

Updated jsfiddle http://jsfiddle.net/b6b710mz/86/

I would keep checking and would let you know when I find a fix/workaround with virtualY: true.