• 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和测试项目下载

  • 相关阅读:
    CF 561 div2 C
    CF #560 div3
    1.11 acm结束了,所以寒假学习Java基础
    11.5 cometoj #12 -- D XOR Pair (数位dp)
    11 .3 数位dp
    10.1 叉积 ,极角排序,扫描法求凸包
    9.11 状态矩阵 与 dp
    9.3 整理一下最短路算法
    9.3 欧拉定理 && 欧拉降幂 (扩展欧拉定理)&& 指数循环节
    Two Arithmetic Progressions (exgcd的一些注意事项
  • 原文地址:https://www.cnblogs.com/think/p/560161.html
Copyright © 2020-2023  润新知