a54c7c3f by yangjianbin

init

1 parent 9ca28e03
......@@ -106,6 +106,13 @@
iDisplayLength:10,
bLengthChange: false,
ajax: '<?=site_url("work/data")?>',
dataSrc: function ( json ) {
alert('json')
for ( var i=0, ien=json.data.length ; i<ien ; i++ ) {
json.data[i][0] = '<a href="/message/'+json.data[i][0]+'>View message</a>';
}
return json.data;
},
columns: [
{data: "id", render: function (data, type, full) {
return '<span class="dropDown dropDown_hover">\
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!