Forum
12:06
30/09/2009
Hi!
First thanks to tony, keep up your good work. And I'm happy to see that you like github (i was the one that recommended it to you 🙂
To the bug: On a grid that has so much entries that you need to scroll, if you select a cell, it will scroll to the top of the grid.
This effect appears only in Firefox and IE (both latest version), NOT in safari/webkit.
And I only get it if i enable cellEdit. The grid scrolls so that the editable cell is on the bottom. If the cell is not editable, it scrolls to the top.
Here is my javascript setup: http://pastie.org/636924
I belive that scrolling is NEVER something you want to get when selecting some entries.
The bug is both in the released 3.5.3 and your latest github version (as of now). (I built and minified it with pbor's ant script)
Best,
Peter
05:40
Moderators
30/10/2007
Hello Peter,
Thanks.
I could not reproduce this bug with your settings.
1. You use maybe old version, since viewsortcols is array and not variable.
2. I'm interested what updateTestcaseSelection
function do?3. Not sure if this is applicable, but using both cell edit and inline edit is not a good idea.
If you send me link to the problem it will be very good.
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
09:48
14/05/2009
I am also having an issue with this in FireFox 3.5 and IE 6,7 using jqGrid 3.5.3.
If you have a grid with enough rows to make the window scroll and you click into an editable field, the grid automatically scrolls up to the point where the editable row is now at the bottom of your window.
Here's my testing setup. Very basic just to recreate this issue: http://pastie.org/643776
Thanks!
Derek
02:21
Moderators
30/10/2007
Hello,
I will test this, but the first that I see in the code is that a DOCTYPE declaration is missing:
Please read this : http://www.trirand.com/jqgridw.....to_install
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
11:17
Moderators
30/10/2007
Hello,
Not sure if this is applicable solution, but if this works for you
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
17:00
22/01/2010
If I comment out that line, the page scrolling/jumping is fixed. The escape and enter keys still work. However, the left, right, up, and down arrow keys no longer work for the grid and the user is forced to use their mouse to navigate the cells from then on. My users are utilizing the arrow keys when working with my grid.
So, we are close but I need a way to fix this issue without eliminating the arrow keys for cell navigation.
22:05
19/05/2010
Here's a solution that is working for me:
At line 346 of grid.celledit.js:
var selection = $("<span style='width:0px;height:0px;background-color:black;' tabindex='0'><span...
Add "position:fixed;top:0px;left:0px" to the style attribute of the outer span.
The inner span is the element which responds to the up/down/left/right keyboard events and moves the selected cell. To do this, it needs to have the focus. When it is given the focus, FF and IE scroll the browser, if necessary, so that it is visible. If you are editing a long grid, the browser may scroll up since the hidden span is inserted at the top of the grid. My proposed solution fixes the span to the viewport so that it's always "visible", and the browser doesn't have to scroll.
19:33
24/05/2010
I try to validate a simple Form but the Jquery Validation Plugin not woking when I use only Button not The Submit Button.
I can not use the Submit button there Because If I use submit Button After Submitting the form It take the Action and goes to Default page while my current form is comes from Ajax. I am very new to Jquery. Please Help its Urgent...
I am giving the files here.
index.html
<html>
<head>
<script src="jquery.js">
<script="jquery-validate-min.js">
<script="validation.js>
</head>
<body>
<form id="contact_form">
<table>
<tr><th>Name</th><td><input name="name" /></td></tr>
<tr><th>E Mail</th><td><input name="email" /></td></tr>
<tr><th><input type="button" name ="submit" id="form_sub" onclick="save"></th><td><input name="email" /></td></tr>
</table>
</form>
</body>
</html>
Now the validation.js file
function save(){
$("#form_sub").click(function(){
$("#contact_form").validate({
'rules':{
'name':{
'required':true,
'minlength':5
},
'email':{
'required':true,
'email':true
}
}
})
}
Everything works fine when we use input type="submit"...
But it not working when we use input type="button"
Any Idea how can Fix this?
I am new to Jquery ... Please Help
03:27
22/04/2010
09:45
Moderators
30/10/2007
Hello,
Thanks. It seems that I have missed pkane post.
Will test and if everthing is ok I will apply the fix.
Kind Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
00:31
22/04/2010
16:04
02/02/2011
First of all, thanks for such a great plugin.
As of version 3.8.2, this bug is still persistent. I had to recode to inline editing because of this. When the top of the grid is off-screen, whenever I click a row, or press enter to apply the changes, it scrolls to the top of the grid.
Hope to see this bug fixed in a future release, because cell editing has many more events to use than inline editing.
EDIT: The bug only happens with Firefox (3.6.15) and IE 8, Chrome (10) works ok.
Most Users Ever Online: 715
Currently Online:
66 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66