Forum


18:15

10/08/2009

Hi Rob,
do you used navGrid function? If "yes" you should post the code which has the problem.
Regards
Oleg
19:51

02/03/2011

yes i'm using that one.
<table id="products"> </table>
<div id="producttb"></div>
<script type="text/javascript">
jQuery("#products").jqGrid({
url:'/admin/shopproduct/list/',
datatype: "json",
colNames:['productid','productname','category', 'price_tax', 'ean', 'partno', 'brand', 'stock'],
colModel:[
{name:'productid',index:'productid', width:60, sorttype:'int'},
{name:'productname',index:'productname', width:60},
{name:'categorytitle',index:'categorytitle', width:60},
{name:'price_tax',index:'price_tax', width:60},
{name:'sku',index:'sku', width:60},
{name:'partno',index:'partno', width:60},
{name:'brand',index:'brand', width:60},
{name:'stock',index:'stock', width:60}
],
rowNum:10,
mtype: "GET",
gridview: true,
rowList:[10,20,30],
pager: jQuery('#producttb'),
sortname: 'productid',
viewrecords: true,
sortorder: 'asc',
caption:'Products',
width:625,
height: 'auto'
}).navGrid('#producttb',{
edit:true,
add:true,
del:true
});
</script>
this is my code, i cannot see the edit/add/del button either.
Most Users Ever Online: 715
Currently Online:
66 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