#1138: dGrid with dDateTextBox
--------------------------+-------------------------------------------------
  Reporter:  gary         |       Owner:  somebody             
      Type:  enhancement  |      Status:  new                  
  Priority:  minor        |   Milestone:                       
 Component:  ui           |     Version:  0.8.3                
Resolution:               |    Keywords:  dGrid dDateTextBox wx
--------------------------+-------------------------------------------------
Comment (by gary):

 Replying to [comment:1 gary]:
 > Comments from Mailing List:
 >
 > johnf wrote:
 > > On Thursday 31 January 2008 09:10:00 am Paul McNett wrote:
 > >> johnf wrote:
 > >>> On Thursday 31 January 2008 07:35:59 am Gary Thompson wrote:
 > >>>> Hi All,
 > >>>>            I hope this is an appropriate place to share this.  I've
 been
 > >>>> wanting to have a DateTextBox as part of a grid column for a long
 time,
 > >>>> to simplify bulk data editing where dates are involved.
 > >>>>
 > >>>> I have managed to hack something together which does the job, I
 must
 > >>>> warn you that I do not have a lot of programming experience (thank
 you
 > >>>> to those out there whose code I poached in trying to put this
 > >>>> together).  If there is another way which I missed when trying to
 > >>>> resolve this, I would be interested in knowing.  Otherwise, here is
 some
 > >>>> code:
 > >>> Running the code I noticed that typing in 01/32/2008 (Jan 32 2008)
 caused
 > >>> the date to become 01/31/2008 without warning the user.  Shouldn't
 you
 > >>> warn the user?
 > >> IMO the behavior should be to revert back to the prior entry. IOW, if
 > >> 6/17/2006 was displayed, and the user typed 01/32/2008, the entry
 would
 > >> revert back to 6/17/2006.
 > >>
 > >> Paul
 > >
 > > +1
 > >

 In testing I performed, I found the values to revert on incorrect input.
 I can't replicate the behaviour above.  I did design the code so that when
 you edit a field which has an invalid date already set, it will reset the
 date.  I can include a pop-up message alerting the user in this case.

-- 
Ticket URL: <http://trac.dabodev.com/ticket/1138#comment:3>
Dabo Trac <http://trac.dabodev.com>
Trac Page for Dabo


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to