View Full Version : Simple Datepicker
bigBADguy
01-10-2006, 12:45 PM
The Datepicker component shipped with Laszlo was really suck... It is slow, big memory-eater, and I really cannot control it behavior... It bring me too much pain!
Finally, I have ported my Javascript calendar to Laszlo, and here is my SimpleDatepicker.
Any suggestion are welcome!
dkongolo
01-13-2006, 07:16 AM
Nice work.
pixel
05-05-2006, 10:41 PM
has anyome tried to customize laszlo datepicker to show 2 months at once ?
is it possible to to that ?
any clues, do share, thanks!
mikotodria
05-21-2006, 10:02 PM
Brilliant :)..
A thousand thanks, thats nice work !
anilkumar
05-25-2006, 01:40 PM
Hi,
I am trying to use Simpledatepicker you posted. Problem I am facing is that laszlo keep on saying warning- Redefining the object.
Anyone else is facing this problem????
This problem started coming after upgrade to laszlo 3.2
Earlier in 3.0, there was never a issue.
Any help is appreciated.
anilkumar
05-26-2006, 11:19 AM
Hi,
I enhanced little bit SimpleDatepicker by adding some function and fixing one of the exiting function.
I hope this will help people looking for a control on the fly.
Now my problem is that some how onclick event don't reach back to SimpleDatepciker, if I am using this on a Modal dialog.
I am attaching the new file. I have tested this on laszlo 3.2 , You make one instance in your main canvas and keep using everywhere. Here is the code you need to put in your canvas.
ctl - edittext
pnt - parent view
<SimpleDatepicker name="mainDatePicker"/>
<method name="callCalender" args="ctl,pnt">
mainDatePicker.adjustHeight(ctl,pnt);
mainDatePicker.setAttribute('callingCtl',ctl);
mainDatePicker.open();
</method>
<method name="callCalender" args="ctl">
mainDatePicker.adjustHeight(ctl);
mainDatePicker.setAttribute('callingCtl',ctl);
mainDatePicker.open();
</method>
If you are calling from modal dialog then call with two parameter, so it can position itself nicely under edittext.
huitorel
07-11-2006, 02:55 AM
Hi
When I use your component I still have warning like
simpledatepicker.lzx:216:57: required attributes missingdemande.lzx:66:45: text not allowed heresimpledatepicker.lzx:69:121: The resource named 'prev_page' has not been declaredsimpledatepicker.lzx:71:122: The resource named 'next_page' has not been declared
Regards
Fabrice
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.