|
Rank: Advanced Member Groups: Member
Joined: 2/11/2008 Posts: 37
|
I have a grid with a datetime column and I have javascript hooked to the grid's ClientSideOnCellSelected which is working. Then I grab a reference to the actual DatePicker that column uses.
But I can't seem to find how I would go about setting the MinValidDate on the client side. I found a property which looks like it was obfuscated (named like aaav) which had the value I had set declaritively for the MinValidDate, but I got javascript errors when I tried to assign a value to that.
The situation is that I have multiple DateTime columns, and each one from left to right must be at a later date than the previous one. So I thought what better way that to prevent the wrong input in the first place.
Any help would be appreciated. Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, I do not believe you can set a DatePicker's MinValidDate on the client side. The issue would not have anything to do with the Grid. You can find a list of all functions available on the client side DatePicker(Calendar) object here: http://www.essentialobjects.com/ViewDoc.aspx?t=JSDoc.Public.Calendar.htmlThanks
|
|
Rank: Advanced Member Groups: Member
Joined: 2/11/2008 Posts: 37
|
Ok, I see.
Is there any chance of this being added in the future?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
There definitely is.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
This feature has been implemented as of build 2007.2.55.
|
|