Forum
10:26
Hi Tony,
Sorry to hassle you.
In celledit mode the grid users' normal behaviour is to:
1. select a cell to edit ( it becomes editable)
2. make the change.
3. hit 'enter' (change becomes saved or whatever).
4. repeat for other changes if there are more to make.
When using the datepicker the users workflow becomes broken, rather they:
1. select the date cell to edit ( the calendar pops up)
2. make the change.
3. hit 'enter' (change becomes saved or whatever).
<- OOPS: No – you can not hit enter here. If the user does not have any other changes to make they end up not knowing what to do. The average user would not know to select another cell for the effect or change to 'take'.
I tried to resolve this on my own by adding the showOn: 'button' feature that allows the input box to get focus – thus allowing the user to hit 'enter'. As you are aware: I could not make it work:
http://www.trirand.com/blog/?p.....-appearing
I feel this is a significant issue; and that the community of users would greatly benefit from fixing/enhancing this.
I hope there's something you can do.
Thanks
tim
10:48
Moderators
30/10/2007
Dear tim,
It seems that you have concentrate more on what jqGrid does not have, rather than to investigate the methods and properties how to avoid some bugs in datepicker. (As I known the datepicker will be rewritten).
As of my previos comment and the coment from other user here is one gracefully solution for your problem, referring this:
http://www.trirand.com/jqgridw.....ll_editing
afterEditCell : function (id, name, value, iRow, iCol) {
$("#"+iRow+"_"+name).datepicker({/* put here your options including showOn too*/});
// or simple $(":input[name="+name+"]")....
}
Enjoy
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:58
> "It seems that you have concentrate more on what jqGrid does not have, rather than to investigate the methods and properties how to avoid some bugs in datepicker."
No, I am just learning both jQuery and jqGrid. I tried 50 things 50 different ways; Obviously I am not as familiar with the code as you are. This is why I put the original posting in "Help" and only after no one was able to help did I try to log as a feature request. Call me a n00b ok, but I did try to find ways to fix it without assuming it was a fault of jqGrid.
I appreciate your help as the last post did fix the problem.
Thank you.
tim
19:12
I've left the working example up so that others can benefit (includes re-setting the focus).
http://www.blackstag.com/json-example
tim
03:50
Moderators
30/10/2007
Hello tim,
Sorry if this sound for you so - I do not mean this , but all what I want is that people using jqGrid will need first read the documentation.
Best Regards
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.
Most Users Ever Online: 715
Currently Online:
48 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