zoukankan      html  css  js  c++  java
  • SlickGrid Events

    SlickGrid exposes the following events:

    • onScroll
    • onSort
    • onHeaderContextMenu
    • onHeaderClick
    • onMouseEnter
    • onMouseLeave
    • onClick
    • onDblClick
    • onContextMenu
    • onKeyDown
    • onAddNewRow
    • onValidationError
    • onViewportChanged
    • onColumnsReordered
    • onColumnsResized
    • onCellChange
    • onBeforeEditCell
    • onBeforeCellEditorDestroy
    • onBeforeDestroy
    • onActiveCellChanged
    • onActiveCellPositionChanged
    • onDragInit
    • onDragStart
    • onDrag
    • onDragEnd
    • onSelectedRowsChanged
    • onInvalidatedRows
    • onCellCssStylesChanged

    You can subscribe to the above events using a syntax similar to:

    gridInstance.onXYZEvent.subscribe(function(e,args){
        //event handling code.
    });
    

    Event handlers can also be removed with

    gridInstance.onXYZEvent.unsubscribe(fn);
  • 相关阅读:
    offset家族
    $的符号封装
    操作字符串
    无缝滚动
    根据字符返回位置
    网页编码和解码
    小米手机案例
    字符串对象常用方法
    匀速运动案例
    Render Functions & JSX
  • 原文地址:https://www.cnblogs.com/zfc2201/p/2493549.html
Copyright © 2011-2022 走看看