zoukankan      html  css  js  c++  java
  • SlickGrid Options

    As included in the examples or described in stable releases.

    Booleans:

    • autoEdit Cell will not automatically go into edit mode when selected.
    • autoHeight
    • editable
    • enableAddRow If true, a blank row will be displayed at the bottom - typing values in that row will add a new one.
    • enableAsyncPostRender If true, async post rendering will occur and asyncPostRender delegates on columns will be called.
    • enableCellNavigation
    • enableColumnReorder
    • enableRowReordering
    • forceFitColumns Force column sizes to fit into the viewport (avoid horizontal scrolling).
    • showHeaderRow
    • leaveSpaceForNewRows
    • enableCellRangeSelection
    • asyncEditorLoading Makes cell editors load asynchronously after a small delay. This greatly increases keyboard navigation speed.
    • multiSelect
    • enableTextSelectionOnCells
    • explicitInitialization (http://mleibman.github.com/SlickGrid/examples/example-explicit-initialization.html)
    • multiColumnSort (http://mleibman.github.com/SlickGrid/examples/example-multi-column-sort.html)

    Others (with sample values)

    • cellFlashingCssClass: "flashing" A CSS class to apply to flashing cells via flashCell().
    • cellHighlightCssClass: "selected" A CSS class to apply to cells highlighted via setHighlightedCells().
    • editCommandHandler: queueAndExecuteCommand
    • rowHeight: 140
    • topPanelHeight: 25
    • defaultColumnWidth: 80
    • asyncEditorLoadDelay: 100 Delay after which cell editor is loaded. Ignored unless asyncEditorLoading is true.
    • asyncPostRenderDelay: 60 Delay after which async post renderer delegate is called.
    • editorLock: A Slick.EditorLock instance to use for controlling concurrent data edits.
    • headerRowHeight: 25
    • formatterFactory: A factory object responsible to creating a formatter for a given cell. Must implement getFormatter(column).
    • editorFactory: A factory object responsible to creating an editor for a given cell. Must implement getEditor(column).
  • 相关阅读:
    mysql 数据库优化
    eclipse 自动 注释
    rpc 小例子
    几种基于HTTP协议的RPC性能比较
    spring 两个 properties
    xxx.properties获取方法
    Mysql 操作
    Java对象初始化详解
    Tomcat自动启动脚本
    数学工具 在 当代 和 未来 的 进化革命 的 可能性
  • 原文地址:https://www.cnblogs.com/zfc2201/p/2493554.html
Copyright © 2011-2022 走看看