- 51Aspx源码必读 .txt[3KB]
- Global.asax[110B]
- Global.asax.cs[1KB]
- Leo.JqueryGrid.Web.csproj[6KB]
- Web.config[2KB]
- Web.Debug.config[1KB]
- Web.Release.config[1KB]
- Content\Site.css[2KB]
- Content\busyIndicator\busyIndicator.css[1KB]
- Content\LeoGrid\leoGrid.default.css[4KB]
- Controllers\DemoController.cs[1KB]
- Models\Product.cs[280B]
- Models\ProductPrice.cs[359B]
- obj\Debug\Leo.JqueryGrid.Web.csproj.FileListAbsolute.txt[476B]
- Properties\AssemblyInfo.cs[1KB]
- Scripts\BusyIndicator.js[3KB]
- Scripts\jquery-1.4.4.min.js[77KB]
- Scripts\LeoGrid.js[25KB]
- Services\Fake\FakeServiceBase.cs[276B]
- Services\Fake\ProductPriceService.cs[859B]
- Services\Fake\ProductService.cs[904B]
- Services\Interfaces\IProductPriceService.cs[289B]
- Services\Interfaces\IProductService.cs[229B]
- Views\Web.config[2KB]
- from.gif[4KB]
- Leo.JqueryGrid.sln[1KB]
- Leo.JqueryGrid.suo[23KB]
- Leo.JqueryGrid.Web.csproj.user[1KB]
- Leo.JqueryGrid.Web.csproj.vspscc[257B]
- 最新Asp.Net源码下载.url[123B]
- bin\Leo.JqueryGrid.Web.dll[10KB]
- bin\Leo.JqueryGrid.Web.pdb[21KB]
- Content\busyIndicator\images\loading_1.gif[5KB]
- Content\busyIndicator\images\modal_1.png[131B]
- Content\busyIndicator\images\modal_2.png[130B]
- Content\images\gradients.jpg[620B]
- Content\images\main-light.jpg[8KB]
- Content\LeoGrid\images\grid-images.jpg[2KB]
- Content\LeoGrid\images\grid-images.png[2KB]
- Content\LeoGrid\images\loading.gif[2KB]
- obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache[9KB]
- obj\Debug\Leo.JqueryGrid.Web.dll[10KB]
- obj\Debug\Leo.JqueryGrid.Web.pdb[21KB]
- obj\Debug\ResolveAssemblyReference.cache[39KB]
- Views\Demo\CellFormater.cshtml[1KB]
- Views\Demo\CellTemplate.cshtml[50B]
- Views\Demo\FirstLook.cshtml[1KB]
- Views\Demo\Index.cshtml[1KB]
- Views\Shared\Error.cshtml[210B]
- Views\Shared\MainLayout.cshtml[936B]
源码介绍
源码参数
项目描述
这是一个免费的jquery grid,并且代码可以随意修改。
如何使用:
<script language="javascript" type="text/javascript">
var grid = new LeoGrid("demoGrid");
grid.Columns = BuildColumns();
grid.PageSize = 30;
grid.BodyHeight = 400;
grid.AjaxOptions = new AjaxOptions("/demo/prices", "");
grid.Initialize();
function BuildColumns() {
var columns = new Array();
var id = new Column();
id.MemberName = "ID";
id.Width = 50;
columns.push(id);
var name = new Column();
name.MemberName = "ProductName";
name.HeaderHtml = "Product Name";
name.Width = "auto";
columns.push(name);
var price = new Column();
price.MemberName = "Price";
price.Width = 120;
price.MemberDataType = DataType.Number;
columns.push(price);
var difference = new Column();
difference.MemberName = "Difference";
difference.HeaderHtml = "<span style='color:red'>Difference</span>";
difference.MemberDataType = DataType.Number;
difference.Width = 250;
difference.CellFormater = function (value) {
var css = value * 1 > 0 ? "asc" : "desc";
return "<span class='" + css + "'>" + value + "</span>";
}
columns.push(difference);
return columns;
}
</script>
下载记录(Only Recent 100)
用户名 | 推荐指数 | 下载时间 |
---|