Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Unable to sort the data when the row is selected
23/05/2011
08:40
Avatar
gunjan shah
India
Member
Members
Forum Posts: 20
Member Since:
23/12/2010
sp_UserOfflineSmall Offline

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 .

 jQuery("#list4").jqGrid({
                    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 .

Image Enlarger

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.

18/06/2011
07:10
Avatar
gunjan shah
India
Member
Members
Forum Posts: 20
Member Since:
23/12/2010
sp_UserOfflineSmall Offline

Its resolved . After selecting the sort , we can not sort the data. To sort , take the grid to unselected mode . just Press enter , and then sort the data.

Thank You,

Gunjan Shah.

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information