hi there!
I have been trying to implement the ui.datepicker to jqgrid but not success until now…
colModel:[
{name:‘id’,index:‘id’, width:65},
{name:‘invdate’,index:‘invdate’, width:90[size=“4”],[color="#FF0000"]searchoptions:{dataInit:function(el){$(el).datepicker({dateFormat:‘yy-mm-dd’});} }[/size]}, [/color]
the issue is how to declare the coloured sentence.
any one?
I have tried something like this, but don’t work
[color="#FF0000"]‘searchoptions’=>array(‘dataInit’=>‘js:function(el){$(el).datepicker=>array(“dateFormat”=>“yy-mm-dd”);}’)[/color]
implemented on editoptions and formoptions
thanks!