zoukankan      html  css  js  c++  java
  • 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和测试项目下载

  • 相关阅读:
    Android Wifi BT的工作流程和porting(精)
    ioctl命令详解
    android 编译库过程
    git恢复repo start 后丢失的修改记录
    Android Bluetooth 分析(精)
    SDIO总线 驱动
    提取高通最新代码patch
    linux设备驱动——andriod平台wlan驱动
    推送现有git到远程服务器并创建新分支
    c++继承经典例子
  • 原文地址:https://www.cnblogs.com/think/p/560161.html
Copyright © 2011-2022 走看看