ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: rsgmedia on January 19, 2017, 12:53:15 am

Title: Cascading Date Editors in the columns
Post by: rsgmedia on January 19, 2017, 12:53:15 am
Hi,

We have two columns "Start Date" & "End Date" in one of our grids, and we show date pickers as the editors in these columns. We want to achieve the cascading effect between these two columns i.e. want to restrict the user from selecting a start date which is after end date, and vice versa. We also need to validate these dates after a date is selected.

We followed this demo for adding the date editors
http://paramquery.com/pro/demos/editing_custom

We are trying to have similar cascading effect shown in this demo
http://paramquery.com/pro/demos/cascade_select

A working example or a sample code is really appreciated. Please let us know if you need more information.

Thanks in advance.
Title: Re: Cascading Date Editors in the columns
Post by: paramvir on January 19, 2017, 03:23:24 pm
Please check this example: http://paramquery.com/pro/demos/dependent-date-editors
Title: Re: Cascading Date Editors in the columns
Post by: rsgmedia on January 19, 2017, 08:23:14 pm
Thank you very much for the example. This will work.