Hellow Alexandre!
I follow your suggestion and put the $
(element).datepicker({dateFormat: 'dd-mm-yy'})
in my script a all works OK.
Really Thank you so much for all help. :)
Regards!!!
On Jun 14, 9:42 am, Alexandre Bizeau <
alexandrebiz...@gmail.com>
wrote:
> Hello cesar,
>
> When you edit, you want to use : editrule ( That the format validation when
> you enter a date on edit) and edittype to date and after into the edittype,
> you can set the formatoptions i think. Because the formatoptions on a
> gridColumn just change the display when not edited. Just read information
> on gridColumn tags there :
http://code.google.com/p/struts2-jquery/wiki/GridColumnTag
>
> Maybe the editoptions can be a solution too but i'm not sure. With
> something like that :
>
> editoptions: {
> size: 10, maxlengh: 10,
> dataInit: function(element) {
> $(element).datepicker({dateFormat: 'yy.mm.dd'})
> }
>
> 2012/6/14 Cesar Lopez <
cesar.lop...@gmail.com>