Welcome Guest Search | Active Topics | Sign In | Register

Trying to change DatePicker's MinValidDate on client side Options
Code Monkey
Posted: Friday, April 18, 2008 2:20:49 PM
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!
eo_support
Posted: Friday, April 18, 2008 2:32:51 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
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.html

Thanks
Code Monkey
Posted: Sunday, April 20, 2008 2:02:00 PM
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?
eo_support
Posted: Monday, April 21, 2008 6:24:27 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
There definitely is.
eo_support
Posted: Wednesday, May 28, 2008 7:18:28 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,096
This feature has been implemented as of build 2007.2.55.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.