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
I couldnt make this working.
08/04/2009
14:03
Avatar
shamuntoha
Member
Members
Forum Posts: 21
Member Since:
08/04/2009
sp_UserOfflineSmall Offline
From this demo i am not able to make it work? What i should do to have this module work?
Latest demo as following:
------------------
This example show navigator.
See below for all available options.
Note: The data is not saved to the server
Description
This method uses colModel and editurl parameters from jqGrid
Calling: jQuery("#grid_id").navGrid(selector,options,pEdit,pAdd,pDel,pSearch );
Java Scrpt code
jQuery("#navgrid").jqGrid({ url:'editing.php?q=1', datatype: "xml",
colNames:['Inv No','Date', 'Client',
'Amount','Tax','Total','Closed','Ship via','Notes'], colModel:[
{name:'id',index:'id',
width:55,editable:false,editoptions:{readonly:true,size:10}},
{name:'invdate',index:'invdate',
width:80,editable:true,editoptions:{size:10}},
{name:'name',index:'name',
width:90,editable:true,editoptions:{size:25}},
{name:'amount',index:'amount', width:60,
align:"right",editable:true,editoptions:{size:10}},
{name:'tax',index:'tax', width:60,
align:"right",editable:true,editoptions:{size:10}},
{name:'total',index:'total',
width:60,align:"right",editable:true,editoptions:{size:10}},
{name:'closed',index:'closed',width:55,align:'center',editable:true,edittype:"checkbox",editoptions:{value:"Yes:No"}},

{name:'ship_via',index:'ship_via',width:70, editable:
true,edittype:"select",editoptions:{value:"FE:FedEx;TN:TNT"}},
{name:'note',index:'note', width:100, sortable:false,editable:
true,edittype:"textarea", editoptions:{rows:"2",cols:"20"}} ],
rowNum:10, rowList:[10,20,30], imgpath: gridimgpath, pager:
jQuery('#pagernav'), sortname: 'id', viewrecords: true, sortorder:
"desc", caption:"Navigator Example", editurl:"someurl.php", height:210
}).navGrid('#pagernav',
{}, //options
{height:280,reloadAfterSubmit:false}, // edit options
{height:280,reloadAfterSubmit:false}, // add options
{reloadAfterSubmit:false}, // del options
{} // search options
);

14/04/2009
02:10
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

And finally what does not work?

As you can see you can not use the navgrid.html separatley. In order to run separatley in html load all the needed js files. Good start is to look first in the example.html

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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