ClientSortableTableExtender -- Ajax toolkit Extender(源码以后再发布和讲解)

不同于传统的Post-back方式和AJAX方式,ClientSortableTableExtender纯粹利用Javascript脚本在客户端完成排序操作。
ClientSortableTableExtender支持对"'int'","'string'","'float'","'date'"等数据类型排序,如果date数据不是标准的格式,还可以用date-format-string来定制Extender对数据的分析行为,比如,"'yyyy-MM-dd HH:mm:ss'"。如果你的表格列中的内容非常的复杂,你还可以自定义对table cell内容的分析函数,比如,
function fnCustomCellParser(cell){
 return cell.getElementsByTagName("IMG")[0].src;
}
ClientSortableTableExtender还可以自动的适应分页的表格
ClientSortableTableExtender同样拥有非常易用的设计时支持,它的较复杂的属性,比如SortExpressions,都有专用的Editor来保证用户正确的设置属性的值。
ClientSortableTalbeExtender同样也支持全球化,它现在已经支持英语和简体中文。

Different from tranditional Post-back method and AJAX method, ClientSortableTableExtender just use Javascript script to complete the sorting operation at client side. ClientSortableTableExtender support sorting for 'int','string','float','date' data type. If the data type 'date' is not the standard format, the ClientSortableTableExtender also support for customizing data parse behaviour by date-format-string, for instance, 'yyyy-MM-dd HH:mm:ss'. If the content in your table cell is so complicated, you can also customize the parse function of table cell, for example,
function fnCustomCellParser(cell){
 return cell.getElementsByTagName("IMG")[0].src;
}
ClientSortableTableExtender can also automatically adapt to paging gird
ClientSortableTableExtender also has a very good design-time experience. Its complicated properties, such as SortExpressions, have special Editor to confirm that user set the valid value of properties. 
ClientSortableTableExtender also support for globalization. It can support English and Chiese Simplified now.




 



 DLL和测试项目下载

posted @ 2006-11-14 11:33  Think  阅读(3445)  评论(8编辑  收藏  举报