   @DATA:
     MODE: 'mode'
     SNIPPET: 'snippet'
+    SNIPPET_SCOPE: 'snippetScope'
+
+  @CSS:
+    HIDDEN: 'hidden'
 
   ###*
     @param {Element} table

    @client.request url + '?snippet=' + name, 'GET', {}, (json) =>
      if json['snippets']?
        el.innerHTML = json['snippets'][name]
      @reg.process el

        @processSnippet name, url, el

  ###*
    Scope parent, is parent with data attribute DATA.SNIPPET_SCOPE
    Scope parent is found in processSnippet method.

    If scope parent is found, it's set to be shown.

    @protected
    @param {Element} el
    @param {string} snippetName
  ###
  findScopeParent: (el, snippetName) ->
    el = @dom.getParentElement el
    while el?
      if goog.dom.dataset.get(el, wzk.ui.grid.PaneMode.DATA.SNIPPET_SCOPE) is snippetName
        return el
      el = @dom.getParentElement el
    return undefined

  ###*
    @protected
    @param {string} attr
    @return {Object}
