views:

55

answers:

2

i want to bind jqgrid with static data in asp.net without using webservice. can anybody help me.

A: 

Check out this example - http://www.trirand.com/jqgridwiki/doku.php?id=wiki:first_grid

There is not an asynch call to a webservice... just plain old javascript -

colNames:['Inv No','Date', 'Amount','Tax','Total','Notes'],
colModel :[ 
  {name:'invid', index:'invid', width:55}, 
  {name:'invdate', index:'invdate', width:90}, 
  {name:'amount', index:'amount', width:80, align:'right'}, 
  {name:'tax', index:'tax', width:80, align:'right'}, 
  {name:'total', index:'total', width:80, align:'right'}, 
  {name:'note', index:'note', width:150, sortable:false} 
],
Kris Krause
A: 

Your problem can be solved in different ways:

Oleg