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
Multiselect does not work over 33 records....is it me?
22/01/2014
13:10
Avatar
brownmb
New Member
Members
Forum Posts: 1
Member Since:
22/01/2014
sp_UserOfflineSmall Offline

Morning

I have just started using jqGrid and implemented multi select for group deletions.

It works fine for a record count upto 33 but not past that?   e.g. upto 33 i get a prompt asking if i want to confirm deletion....after that the sceen semi grays out and nothing else.

i have breakpointed the code and it doest fire the delete methods.

As there is no difference in my code when the record count goes past 33 i assume this is somthing internal to jqGrid?

Here is the code

jQuery("#gridResultT").jqGrid({  

url:'ctl?cmd=Query',  

mtype: 'POST', postData: {        

jd : JSON.stringify(jsonObj)            },

datatype: "json", height: "100%", colNames:['File URN','File Name', 'Type', 'Categroy','Status','Stored Date', 'Read Status','Email Status','Actions','URN','VER'],

colModel:[            

{name:'URNDetailLink',index:'URNDetailLink', width:120, sorttype:"string"},    {name:'FileNameDetailLink',index:'FileNameDetailLink', width:260, sorttype:"String"},                     {name:'FileType',index:'FileType', width:50, align:"center"},     {name:'Category',index:'Categrory', width:150,sorttype:"string"},   {name:'Status',index:'Status', width:70, align:"center",sorttype:"string"},   {name:'Stored',index:'Stored', width:130,align:"center",sorttype:"date"},   {name:'Read',index:'Read', width:100,sorttype:"string",align:"center"},   {name:'Email',index:'Email', width:100,sorttype:"string",align:"center"},   {name:'Actions',index:'Actions', width:80,sortable:false},   {name:'URN',index:'URN', width:50, align:"center",hidden:true},           {name:'VER',index:'VER', width:50, align:"center",hidden:true}   ],      

rowNum: 10,

        rowList: [10,25,33,34,35,40, 50, 100, 500, 1000],               

pager: '#pager',               

gridview: true,               

rownumbers: true,               

autoencode: false,               

  ignoreCase: true,               

sortname: 'Stored Date',               

viewrecords: true,               

multiselect: true,               

sortorder: 'asc',               

shrinkToFit: true,               

caption: "File Query Results",               

height: '100%' });

jQuery("#gridResultT").jqGrid('navGrid','#pager',{refreshstate: 'current', add: false, edit: false, del: true,search: false},

{},

        {}, 

        {

title: false,

caption: "Mark/Unmark for Delete",

msg: "Mark/Unmarked record(s) for delete?",  

bSubmit: "Perform",               

bCancel: "Cancel",

        url: 'api?act=fdt', //Toggle mark/unmark delete           

datatype: 'json',               

onclickSubmit: function (options, postdata) {                   

alert ("Inclick - delete");               

var deleteUndeleteFileRowJ = [];                 

var jsonObj = {};               

var selectedIds = $("#gridResultT").jqGrid('getGridParam', 'selarrrow');              if(selectedIds.length) {                

for(var i =0; i<selectedIds.length;i++) {                                         var u = jQuery("#gridResultT").jqGrid('getCell',selectedIds[i],'URN');               var v = jQuery("#gridResultT").jqGrid('getCell',selectedIds[i],'VER');                                   deleteUndeleteFileRowJ.push({

                 URN :u,                 VER :v                 });                                 }                                

jsonObj.urnList = deleteUndeleteFileRowJ;

                }

               return {                 jd: JSON.stringify(jsonObj)                }                                    }            }    );

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
49 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