【问题标题】:Binding jQgrid in ASP.NET在 ASP.NET 中绑定 jQgrid
【发布时间】:2010-07-07 10:50:52
【问题描述】:

我想在不使用 Web 服务的情况下在 ASP.NET 中将 jQgrid 与静态数据绑定。谁能帮帮我。

【问题讨论】:

标签: asp.net jqgrid jqgrid-asp.net


【解决方案1】:

看看这个例子 - http://www.trirand.com/jqgridwiki/doku.php?id=wiki:first_grid

没有对 web 服务的异步调用...只是普通的旧 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} 
],

【讨论】:

    【解决方案2】:

    您的问题可以通过不同的方式解决:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-04-10
      • 2015-01-02
      • 2011-01-17
      • 1970-01-01
      相关资源
      最近更新 更多