Alpha Video Training
Results 1 to 8 of 8

Thread: JavaScript/Grid Date/Time Selector

  1. #1
    Volunteer Moderator Peter.Greulich's Avatar
    Real Name
    Peter Greulich
    Join Date
    Apr 2000
    Location
    Boston, MA
    Posts
    11,643

    Default JavaScript/Grid Date/Time Selector

    Attached is an image and a zip file for a simple time selector. The sample includes both a time selector and a date/time selector. It's not as slick as the one shown here: http://msgboard.alphasoftware.com/al....php?t=90020#5

    - but it is easier to implement.

    To try it out, open the test grid and either click on one of the icons or the fields themselves.

  2. #2
    Member
    Real Name
    Jon Warner
    Join Date
    Oct 2009
    Location
    South Central Ohio
    Posts
    32

    Default Re: JavaScript/Grid Date/Time Selector

    Peter,

    Where were you a month ago when I hacked through the timepicker I posted in that other thread??? :D

    Very nice...and easy, too!

    Jon

  3. #3
    Volunteer Moderator Peter.Greulich's Avatar
    Real Name
    Peter Greulich
    Join Date
    Apr 2000
    Location
    Boston, MA
    Posts
    11,643

    Default Re: JavaScript/Grid Date/Time Selector

    Quote Originally Posted by jon.warner View Post
    Where were you a month ago when I hacked through the timepicker I posted in that other thread??? :D
    Well, Jon, I was probably asleep at the wheel. Anyway, yours is much more professional and cleaner.

  4. #4
    Member The Mage's Avatar
    Real Name
    William McGowen
    Join Date
    Jul 2010
    Location
    Nebraska
    Posts
    287

    Default Re: JavaScript/Grid Date/Time Selector

    I attempted to open this file, and all I am getting is the grid, not the whole project. I am obviously making some newbie mistake.

    I extracted everything into my A5Webroot folder.

  5. #5
    Volunteer Moderator Peter.Greulich's Avatar
    Real Name
    Peter Greulich
    Join Date
    Apr 2000
    Location
    Boston, MA
    Posts
    11,643

    Default Re: JavaScript/Grid Date/Time Selector

    Quote Originally Posted by The Mage View Post
    I attempted to open this file, and all I am getting is the grid, not the whole project. I am obviously making some newbie mistake.

    I extracted everything into my A5Webroot folder.
    The example relies on two dbf tables which need to be in the datapath, not the webroot.

  6. #6
    Member The Mage's Avatar
    Real Name
    William McGowen
    Join Date
    Jul 2010
    Location
    Nebraska
    Posts
    287

    Default Re: JavaScript/Grid Date/Time Selector

    Thank you very much. Not only does it work, I got it to work on my app.
    Last edited by The Mage; 11-17-2010 at 04:54 AM.

  7. #7
    Member
    Real Name
    Subroto
    Join Date
    May 2011
    Posts
    88

    Default Re: JavaScript/Grid Date/Time Selector

    Thanks Peter for this wonderful component :)

  8. #8
    Guest
    Real Name
    Cornelius Laubscher
    Join Date
    Oct 2013
    Posts
    97

    Default Re: JavaScript/Grid Date/Time Selector

    Hi Peter,

    Ha Ha, you will laugh, but, i'm using a web system with sql backend. I just don't understand how you did it.

    Ps. I have zero experience with desktop apps.

Similar Threads

  1. How to set a time field with a Javascript button?
    By Scholin in forum Application Server Version 10 - Web/Browser Applications
    Replies: 12
    Last Post: 12-16-2010, 11:19 PM
  2. Action JavaScript not available in Grid Javascript function declarations
    By Clipper87 in forum Application Server Version 10 - Web/Browser Applications
    Replies: 1
    Last Post: 09-23-2010, 11:22 AM
  3. generic xdialog date range selector
    By martinwcole in forum Code Archive
    Replies: 2
    Last Post: 08-03-2010, 09:48 PM
  4. How to get Time from ODBC Date/Time field
    By cpgood in forum Alpha Five Version 9 - Desktop Applications
    Replies: 2
    Last Post: 06-06-2010, 12:24 PM
  5. Replies: 0
    Last Post: 06-22-2006, 05:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •