Forum
08:40
23/12/2010
Hi ,
I am unable to sort the data in the Grid once the Row is selected . So Is there any wat to deselect the data on the second click of the row ??
Below , its code of my Grid .
url:'loadhotlistinggrid.htm',
datatype: "json",
width: 1060,
height: 350,
colNames:['Hotlist ID', 'Date ', 'Status','File','Status File','Reason','Remarks'],
colModel:[
{name:'hotlistid',index:'hotlistid',width:40,align:'center'},
{name:'date',index:'date',width:130,align:'center'},
{name:'status',index:'status',width:100,align:'center'},
{name:'file',index:'file',width:100,align:'center'},
{name:'statusfile',index:'statusfile',width:80,align:'center'},
{name:'reason',index:'reason',width:100,align:'center',sortable:false,editable:true,edittype:'textarea',editoptions:{readonly:true}},
{name:'remarks',index:'remarks',width:100,align:'center',sortable:false,editable:true,edittype:'textarea',editoptions:{readonly:true}}
],
rowNum:15,
rowList:[5,10,15],
viewrecords: true,
onSelectRow: function(id){
alert("id :"+id);
if(id && id!==lastsel2){
jQuery('#list4').jqGrid('restoreRow',lastsel2);
jQuery('#list4').jqGrid('editRow',id,true); lastsel2=id;
}
},
pager: '#pager10',
multiselect: false,
imgpath: "themes/basic/images",
caption: ""
});
Below is the image of my Grid .. I have used textArea in some of the fieds .
When I have selected the row .. I can not sort the Grid. Sorting is working fine when no row is selected.
How can I solve the Problem ?????
Thanx In Advance.
Gunjan Shah.
Most Users Ever Online: 715
Currently Online:
74 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66