nyr_jack
Newbie
Posts: 31
|
|
« on: September 13, 2012, 01:06:15 AM » |
|
$(function(){ var lastIndex; $('#serviceTargetGrid').datagrid({ url:'data/service_data.json', title:'', align:'center', //fit: true, width:800, height:'auto', remoteSort:false, fitColumns:false, nowrap:true, striped: true, border: true, singleSelect:true, rownumbers:true, idField:'resourceid', sortName:'resourceid', columns:[[ {field:'ck',checkbox:true}, {field:'resourceid',title:'ID',width:80,sortable:true,align:'left',editor:'validatebox'}, {field:'servicetypename',title:'servicetype',width:150,sortable:true,align:'left', editor:{ type:'combobox', options:{ url:'data/servicetype_data.json', valueField:'servicetypeid', textField:'servicetypename', panelHeight:'auto', editable:false } } },
up is my scripts,Now the combobox display valueField when I finished edit and click another row, so I want to know how can combobox display the textField when I finished edit and click another row? please help,hurry!!!!!
|