Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
addForm and Datepicker
09/11/2009
18:51
Avatar
Andrew
Guest
Guests

Hi,

I have been able to implement the datepicker in the inlinedit mode but is there a way to use the datepicker on the addForm also?

Thanks

Andrew

10/11/2009
09:01
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Take a look here http://www.trirand.com/jqgridw.....ditoptions

maybe dataInit will do the job

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.

24/11/2009
16:04
Avatar
Oliver
Guest
Guests

My datepicker slips underneath the form. How do I get to stay on top?

24/11/2009
16:14
Avatar
Rumen[Trirand]
Moderator
Members

Moderators
Forum Posts: 81
Member Since:
08/10/2009
sp_UserOfflineSmall Offline

You can fix this by modifying the .ui-datepicker css class in your ThemeRoller theme (e.g.  jquery-ui-1.7.1.custom.css) and adding larger z-index, e.g.

.ui-datepicker { width: 17em; padding: .2em .2em 0; z-index: 2000;}

Regards,

Rumen Stankov

Trirand 

Trirand ASP.NET WebForms & MVC components based on jQuery & ThemeRoller

http://www.trirand.net

24/11/2009
17:02
Avatar
markw65
Member
Members
Forum Posts: 179
Member Since:
30/07/2009
sp_UserOfflineSmall Offline

Rumen[Trirand] said:

You can fix this by modifying the .ui-datepicker css class in your ThemeRoller theme (e.g.  jquery-ui-1.7.1.custom.css) and adding larger z-index, e.g.

.ui-datepicker { width: 17em; padding: .2em .2em 0; z-index: 2000;}


Modifying the themeroller css isnt the best way to go. Firefox users can install the ThemeRoller Dev tool, which will allow them to change the theme dynamically on your page - and if they do, they'll lose the z-index.

A better idea is to add:

body .ui-datepicker { z-index: 2000 }

to a <style> in your page, or to a referenced stylesheet.

The "body" is just to make it more specific than the themeroller rule.

Mark

24/11/2009
17:28
Avatar
Oliver
Guest
Guests

Excellent. Thanks to you both. Went with Markw65's aproach and will check out the firefox themeroller tool.

While i have someone's attention. Is there a timepicker tool?

25/11/2009
00:42
Avatar
Rumen[Trirand]
Moderator
Members

Moderators
Forum Posts: 81
Member Since:
08/10/2009
sp_UserOfflineSmall Offline

@Mark - your approach is indeed better - as usual 🙂

@Oliver - I am pretty sure there are some datepicker widgets based on jQuery, but I personally cannot recommend one since I haven't worked with them. A google earch should get you a decent list.

Rumen

Trirand ASP.NET WebForms & MVC components based on jQuery & ThemeRoller

http://www.trirand.net

25/03/2010
18:50
Avatar
downunder
Member
Members
Forum Posts: 9
Member Since:
12/11/2009
sp_UserOfflineSmall Offline
Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
53 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information