jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Erratic "Go to page" input focus behavior
This topic contains 9 replies, has 3 voices, and was last updated by Peter Stoev 10 years, 3 months ago.
-
Author
-
The grid widget initialized with paging enabled and using the default pagermode seems to exhibit unpredictable behavior concerning selection of the “Go to page” textbox input. Very often, a mouse click inside the textbox does not give the textbox focus, though at other times it does. Usually, when it behaves as expected, it does so immediately after page initialization and then ceases after using the input to navigate to new pages several times. I have tried several computers, several browser apps and have experimented with mouse click settings all to no avail. I observe unpredictable focus behavior both with my own app and with the “defaultfunctionality.htm” and “paging.htm” demos. Is there some sort of timing issue involved? Do I misunderstand the intended behavior?
Hi davistom,
We do not put a focus on this textbox. It is not handled by us. Could you check whether you use jQWidgets 3.2.1 on your side?
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comI definitely use v3.2.1 and I observe the described behavior both with my own app and with the indicated demos. Essentially, when I click inside the “Go to page” textbox, or drag across the text in the textbox, nothing happens. I cannot alter the text to enter a new requested page number. But sometimes it does work as I expect, i.e. I can use the field to navigate to a new page, for a few attempts after first browsing to the relevant page.
Hi davistom,
It seems that there’s something wrong if there’s already selected cell and after that you try to put the focus on the go to page field. I will create a work item for that behavior.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThanks.
I unpacked jqxgrid.js and located the following code block:
which led me to suspect some sort of timing issue.
Hi davistom,
– Please, respect our EULA and do not post code from jQWidgets sources in the Forum or anywhere else!
– As I already wrote, we will check that behavior.Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comVery sorry for the oversight. Thanks again.
Hi davistom,
Thanks for the feedback. It was valuable and will help us to improve jQWidgets.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comPeter – Above you acknowledged the behavior and said you would put it in your work queue. Was it resolved? If so, in which release?
Thanks.
There is no issue about this in the current version.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.