jQWidgets Forums
jQuery UI Widgets › Forums › Grid › jqxGrid Scrolls to Top of Grid Automatically On Click
Tagged: auto scroll, jqxGrid ;, scroll
This topic contains 7 replies, has 4 voices, and was last updated by неистовый 6 years, 6 months ago.
-
Author
-
Hi,
When I click to a row, the grid scrolls down the page to top of itself automatically. How can I disable this? For instance;If I click first row, the page scrolling down automatically.
Best regards…
EmreHi Emre,
Sorry, but we do not have such automatic scrolling and cannot replicate such behavior
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/Hi Peter,
Thanks for your reply. Finally I found the source of the problem. This is happening when i set selectionmode to multiplecellsadvanced. You have an idea about that?
Thanks,
EmreHello,
Even I am getting the same issue, the screen is getting automatically scrolled to the top in multiedit mode. In my case when i click on the cell I am calling the endupate method of jqxGrid.
code:
$(‘#myGrid’).jqxGrid(‘beginupdate’);
$(‘#myGrid’).jqxGrid(‘endupdate’);Can someone please help.
Thanks
AshishHello!
Nothing has changed since the last message?
I have the same problem, it happens when I want to see the details of the string using the ‘showrowdetails’ method when double-clicking on the row ‘rowdoubleclick’ or ‘celldoubleclick’var expandData = []; $ ('# glossaryTable'). on ("rowdoubleclick", function (event) { var rowindex = event.args.rowindex; if (expandData [rowindex] === false) { if (event.args.datafield! = null) { $ ('# glossaryTable'). jqxGrid ('showrowdetails', rowindex); } else { $ ('# glossaryTable'). jqxGrid ('hiderowdetails', rowindex); } } else { if (event.args.datafield! = null) { $ ('# glossaryTable'). jqxGrid ('hiderowdetails', rowindex); } else { $ ('# glossaryTable'). jqxGrid ('showrowdetails', rowindex); } } expandData [rowindex] =! expandData [rowindex]; });
If I comment on the methods ‘showrowdetails’ and ‘hiderowdetails’, then there is no jump up …
What could be the problem? Search the forum did not give anything …P.S. The latest version of jqxWidgets 6.0.6 is used
When you hide/show row details, scrollbars are re-calculated and it’s normal the top position to be changed in this case. The behavior which you describe is not related to the reported one.
Best Regards,
Peter StoevjQWidgets Team
https://www.jqwidgets.comyes it’s understandable, but when you use the button to expand the details of the line that’s left in the column, it does not happen, the line just opens wherever it is located at the bottom or top of the browser window, and if you use a cell click or double click to expand the details of the line, skips to the top, that’s what’s strange, then jump should and when you open the button on the left (sorry for my English)
-
AuthorPosts
You must be logged in to reply to this topic.