Results 1 to 3 of 3

Thread: Comparing Start date and end date in ExtJS row editor grid

  1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    16
    Vote Rating
    0
      0  

    Default Comparing Start date and end date in ExtJS row editor grid

    Could anyone please provide me a code snippet for validating Start and End date columns in the ExtJS grid which has row editor.Requirement is to restrict start date to go beyond end date and end date to be after or equal to start date.

    Grid has row editor plugin and validation need to be done as and when user enters dates into those fields.

    Thank you in advance

  2. #2
    Sencha - Documentation Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,162
    Vote Rating
    257
      0  

    Default

    What have you tried so far?

    If you've got a code snippet to show the work you've done to this point to try and accomplish the validation you might get a bit more community assistance as well.

  3. #3
    Sencha User
    Join Date
    Sep 2010
    Posts
    16
    Vote Rating
    0
      0  

    Default

    I tried to add daterange Vtype to the editor date fields(start and end date) in the grid as in example below.But since the each row will be having editor I am not able to generate itemId/Id for each editor in row.So there validation mechanism is not working.

    http://dev.sencha.com/deploy/ext-4.0...dv-vtypes.html

Tags for this Thread

Posting Permissions

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