html代码:

<div class="item-label">@Html.L("Name"):</div>
<input >

页面加载后绑定数据源:

$(function ()
{
$('#Id').combogrid({
panelWidth:450,
idField:'Id',
textField:'Name',
url:'/Contact/Default/List',
columns:[[
{ field: 'Id' , title: 'Id' , width: 60, hidden:true },
{ field: 'Name' , title: 'NameLabel' , width: 120,sortable:true },
{ field: 'Country' , title: 'CountryLabel' , width: 100,sortable:true }
]]
});
});

效果如图:

EasyUI之combogrid

 

相关文章:

  • 2021-08-26
  • 2022-12-23
  • 2022-12-23
  • 2021-08-13
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-03-09
  • 2021-11-30
  • 2021-05-09
  • 2022-12-23
  • 2019-01-20
相关资源
相似解决方案