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
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.
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.
Tags for this Thread