谁有ligerGrid实现排序的例子啊?能发下我吗?在网上没找到....

梦幻之城 发布于 2012/07/19 09:51
阅读 2K+
收藏 0
加载中
0
红薯
红薯
官网可全都是例子哦
梦幻之城
梦幻之城
感谢红薯!哈哈....咋让我想到紫薯了呢?
梦幻之城
梦幻之城
回复 @红薯 : 恩,主要是Liger UI里的组件LigerGrid的,并且是排序的例子,网上有分页的,但没看到排序的
红薯
红薯
回复 @梦幻之城 : 你问的可是 Liger UI ?
梦幻之城
梦幻之城
哪个网址啊?
0
笨蛋EGG
笨蛋EGG

论坛上有相关帖子···看看有没有帮助···

我知道有一个onChangeSort()事件···

0
笨蛋EGG
笨蛋EGG
另:官网上也有一个自定义排序的例子···在在表格——可扩展支持下····看看有没有帮助··
梦幻之城
梦幻之城
有点看不明白耶,能教学下不?
梦幻之城
梦幻之城
恩恩,找到了!嘻嘻...谢谢
0
梦幻之城
梦幻之城
{"grid":[{"display":"UnitsOnOrder","name":"UnitsOnOrder","width":180},{"display":"UnitsInStock","name":"UnitsInStock","width":180},{"display":"UnitPrice","name":"UnitPrice","width":180},{"display":"ReorderLevel","name":"ReorderLevel","width":180},{"display":"QuantityPerUnit","name":"QuantityPerUnit","width":180},{"display":"ProductName","name":"ProductName","width":180},{"display":"EAN13","name":"EAN13","width":180},{"display":"Discontinued","name":"Discontinued","width":180}],"search":[],"form":[{"display":"UnitsOnOrder","name":"UnitsOnOrder","newline":true,"labelWidth":100,"width":220,"space":30,"type":"digits","validate":null,"groupicon":"../icons/communication.gif"},{"display":"UnitsInStock","name":"UnitsInStock","newline":true,"labelWidth":100,"width":220,"space":30,"type":"digits","validate":null,"groupicon":"../icons/communication.gif"},{"display":"UnitPrice","name":"UnitPrice","newline":true,"labelWidth":100,"width":220,"space":30,"type":"number","validate":null,"groupicon":"../icons/communication.gif"},{"display":"SupplierID","name":"SupplierID","newline":true,"labelWidth":100,"width":220,"space":30,"type":"select","validate":null,"groupicon":"../icons/communication.gif"},{"display":"ReorderLevel","name":"ReorderLevel","newline":true,"labelWidth":100,"width":220,"space":30,"type":"digits","validate":null,"groupicon":"../icons/communication.gif"},{"display":"QuantityPerUnit","name":"QuantityPerUnit","newline":true,"labelWidth":100,"width":220,"space":30,"type":"text","validate":null,"groupicon":"../icons/communication.gif"},{"display":"ProductName","name":"ProductName","newline":true,"labelWidth":100,"width":220,"space":30,"type":"text","validate":{"required":true},"groupicon":"../icons/communication.gif"},{"name":"ProductID","type":"hidden"},{"display":"EAN13","name":"EAN13","newline":true,"labelWidth":100,"width":220,"space":30,"type":"text","validate":null,"groupicon":"../icons/communication.gif"},{"display":"Discontinued","name":"Discontinued","newline":true,"labelWidth":100,"width":220,"space":30,"type":"checkbox","validate":{"required":true},"groupicon":"../icons/communication.gif"},{"display":"CategoryID","name":"CategoryID","newline":true,"labelWidth":100,"width":220,"space":30,"type":"select","validate":null,"groupicon":"../icons/communication.gif"}]}

这个有点看不明白!?

0
梦幻之城
梦幻之城
{"grid":[{"display":"UnitsOnOrder","name":"UnitsOnOrder","width":180},
{"display":"UnitsInStock","name":"UnitsInStock","width":180},
{"display":"UnitPrice","name":"UnitPrice","width":180},
{"display":"ReorderLevel","name":"ReorderLevel","width":180},
{"display":"QuantityPerUnit","name":"QuantityPerUnit","width":180},
{"display":"ProductName","name":"ProductName","width":180},
{"display":"EAN13","name":"EAN13","width":180},
{"display":"Discontinued","name":"Discontinued","width":180}],"search":[],
"form":[{"display":"UnitsOnOrder","name":"UnitsOnOrder","newline":true,
"labelWidth":100,"width":220,"space":30,"type":"digits","validate":null,
"groupicon":"../icons/communication.gif"},{"display":"UnitsInStock",
"name":"UnitsInStock","newline":true,"labelWidth":100,"width":220,"space":30,
"type":"digits","validate":null,"groupicon":"../icons/communication.gif"},
{"display":"UnitPrice","name":"UnitPrice","newline":true,"labelWidth":100,
"width":220,"space":30,"type":"number","validate":null,
"groupicon":"../icons/communication.gif"},
{"display":"SupplierID","name":"SupplierID","newline":true,"labelWidth":100,
"width":220,"space":30,"type":"select","validate":null,
"groupicon":"../icons/communication.gif"},
{"display":"ReorderLevel","name":"ReorderLevel","newline":true,"labelWidth":100,
"width":220,"space":30,"type":"digits","validate":null,
"groupicon":"../icons/communication.gif"},
{"display":"QuantityPerUnit","name":"QuantityPerUnit","newline":true,
"labelWidth":100,"width":220,"space":30,"type":"text","validate":null,
"groupicon":"../icons/communication.gif"},
{"display":"ProductName","name":"ProductName","newline":true,"labelWidth":100,
"width":220,"space":30,"type":"text","validate":{"required":true},
"groupicon":"../icons/communication.gif"},{"name":"ProductID","type":"hidden"},
{"display":"EAN13","name":"EAN13","newline":true,"labelWidth":100,"width":220,
"space":30,"type":"text","validate":null,"groupicon":"../icons/communication.gif"}
,{"display":"Discontinued","name":"Discontinued","newline":true,"labelWidth":100,"
width":220,"space":30,"type":"checkbox","validate":{"required":true},
"groupicon":"../icons/communication.gif"},{"display":"CategoryID",
"name":"CategoryID","newline":true,"labelWidth":100,"width":220,"space":30,
"type":"select","validate":null,"groupicon":"../icons/communication.gif"}]}

梦幻之城
梦幻之城
真的,密密麻麻的,看不懂!
返回顶部
顶部