# Yahoo! UI Library

### datatable 3.3.0

Yahoo! UI Library > datatable > datatable-base-vars.js (source view)
Search:
Filters Show Private Show Protected Show Deprecated

    var YLang = Y.Lang,
        YisValue = YLang.isValue,
        Ysubstitute = Y.Lang.substitute,
        YNode = Y.Node,
        Ycreate = YNode.create,
        YgetClassName = Y.ClassNameManager.getClassName,

        DATATABLE = "datatable",
        COLUMN = "column",

        FOCUS = "focus",
        KEYDOWN = "keydown",
        MOUSEENTER = "mouseenter",
        MOUSELEAVE = "mouseleave",
        MOUSEUP = "mouseup",
        MOUSEDOWN = "mousedown",
        CLICK = "click",
        DBLCLICK = "dblclick",

        CLASS_COLUMNS = YgetClassName(DATATABLE, "columns"),
        CLASS_DATA = YgetClassName(DATATABLE, "data"),
        CLASS_MSG = YgetClassName(DATATABLE, "msg"),
        CLASS_LINER = YgetClassName(DATATABLE, "liner"),
        CLASS_FIRST = YgetClassName(DATATABLE, "first"),
        CLASS_LAST = YgetClassName(DATATABLE, "last"),
        CLASS_EVEN = YgetClassName(DATATABLE, "even"),
        CLASS_ODD = YgetClassName(DATATABLE, "odd"),

        TEMPLATE_TABLE = '<table></table>',
        TEMPLATE_COL = '<col></col>',
        TEMPLATE_THEAD = '<thead class="'+CLASS_COLUMNS+'"></thead>',
        TEMPLATE_TBODY = '<tbody class="'+CLASS_DATA+'"></tbody>',
        TEMPLATE_TH = '<th id="{id}" rowspan="{rowspan}" colspan="{colspan}" class="{classnames}" abbr="{abbr}"><div class="'+CLASS_LINER+'">{value}</div></th>',
        TEMPLATE_TR = '<tr id="{id}"></tr>',
        TEMPLATE_TD = '<td headers="{headers}" class="{classnames}"><div class="'+CLASS_LINER+'">{value}</div></td>',
        TEMPLATE_VALUE = '{value}',
        TEMPLATE_MSG = '<tbody class="'+CLASS_MSG+'"></tbody>';

Copyright © 2011 Yahoo! Inc. All rights reserved.