Ok I've tried to get this to work, but the calendar will not pop up.
Can someone tell me what I am doing wrong ?
Live example:
http://blackstag.com/json-example
Thanks,
* when I remove the editoptions – the cell edit begins to work.
$(document).ready(function(){
2 jQuery(“#list”).jqGrid({
3 url: 'tree-json',
4 datatype:'json',
5 forceFit:true,
6 cellEdit:true,
7 cellsubmit:'remote',
8 cellurl: 'budget-handler',
9 treeGrid: true,
10 ExpandColumn:'thing',
11 colNames: [“NAMES”,”DATE”],
12 colModel: [{name: 'thing', index: 'thing', width: 220, hidden: false, sortable: false},
13 {name: 'myDate', index: 'myDate', width: 120, sortable:true, datefmt:”d/m/Y”, editrules:{minValue:0, date:true},
14 editable:true, sorttype:”date”, editoptions:{size:12, dataInit:function(elem){$(elem).datepicker({dateFormat:'dd/mmm/yy'});}}}
15 ],
16 height: 300,
17 width: 400,
18 imgpath: 'css/sunny/images',
19 caption: 'My Things!',
20 });
21});