Yii Framework Forum: jqgrid extension - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

jqgrid extension Rate Topic: -----

#1 User is offline   isreal 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 41
  • Joined: 15-February 09
  • Location:slp, mex

Posted 20 August 2009 - 05:33 PM

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,searchoptions:{dataInit:function(el){$(el).datepicker({dateFormat:'yy-mm-dd'});} }},

the issue is how to declare the coloured sentence.
any one?

I have tried something like this, but don't work
'searchoptions'=>array('dataInit'=>'js:function(el){$(el).datepicker=>array("dateFormat"=>"yy-mm-dd");}')

implemented on editoptions and formoptions
thanks!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users