CJuiDatePicker in CGridview as form field
问题 I am displaying form elements in my CGridView and would like datepicker, but it complains CDataColumn and its behaviors do not have a method or closure named "widget". I have modified DATEIN using the method described in Use a widget in a statically-called method However i think it works partially as when i do a sort or the datepicker does not work. its working only on initial load. <script> $(document).ready(function() { /* $("input[name*='DATEIN'] ").each(function(){ jQuery(this).datepicker