Home Reference Source Repository

References

Class Summary

Static Public Class Summary
public

Adapter module for ezEditTable, an external library providing advanced grid features (selection and edition): http://codecanyon.net/item/ezedittable-enhance-html-tables/2425123?ref=koalyptus

public

SortableTable Adapter module

public

Rows with alternating background color for improved readability

public

Base class for Dropdown and CheckList UI components

public

Checklist filter UI component

public

Clear button UI component

public

Column calculations extension

public

Columns Visibility extension

public

Wrapper for Sugar Date module providing datetime helpers and locales

public

Dropdown filter UI component

public

Event emitter class

public

Base class defining the interface of a TableFilter feature

public

Filters Visibility extension

public

Grid layout, table with fixed headers

public

Manages state via URL hash changes

public

Help UI component

public

Highlight matched keywords upon filtering

public

Activity indicator

public

Visual indicator for filtered columns

public

UI when filtering yields no matches

public

Paging UI component

public

Pop-up filter component

public

Rows counter UI component

public

Features state object persistable with localStorage, cookie or URL hash

public

Status bar UI component

public

Stores the features state in browser's local storage or cookie

public

Makes HTML tables filterable and a bit more :)

Function Summary

Static Public Function Summary
public

Return an empty function

Variable Summary

Static Public Variable Summary
public

Auto filter delay in milliseconds

public

Cell tag

public

Checklist filter type

public

Date

public

Down arrow key code

public

Enter key code

public

Escape key code

public

TableFilter features definitions

public

Formatted number

public

Header cell tag

public

Input filter type

public

IP address

public

Multiple select filter type

public

None filter type

public

Number

public

Select filter type

public

String

public

Tab key code

public

Up arrow key code

public

addClass(ele: DOMElement, cls: String): *

Adds the specified class to the passed element

public

addEvt(obj: DOMElement, type: String, Handler: Function, capture: Boolean): *

Add event handler for specified event on passed element

public

cancelEvt(evt: Event): *

Cancels the event if it is cancelable, without stopping further propagation of the event.

public

contains(term: String, data: String, exactMatch: Boolean, caseSensitive: Boolean, ignoreDiacritics: Boolean): Boolean: *

Checks if passed data contains the searched term

public

createCheckItem(id: String, chkValue: String, labelText: String): Object: *

Creates and returns a checklist item

public

createElm(tag: String, an: Array): Object: *

Creates an html element with given collection of attributes

public

createOpt(text: String, value: String, isSel: Boolean): Object: *

Creates and returns an option element

public

Returns a text node with given text

public

dateSortAsc(First: Date, Second: Date): Number: *

Compare function for sorting passed dates in ascending manner according to the corresponding UTC numeric value (returned by getTime)

public

dateSortDesc(First: Date, Second: Date): Number: *

Compare function for sorting passed dates in descending manner according to the corresponding UTC numeric value (returned by getTime)

public

elm(id: String): DOMElement: *

Returns the element matching the supplied Id

public

getFirstTextNode(node: NodeElement): String: *

Returns the first text node contained in the supplied node

public

getText(node: NodeElement): String: *

Returns text + text of children of given node

public

has(arr: Array, val: Any, caseSensitive: Boolean): Boolean: *

Checks if given item can be found in the passed collection

public

hasClass(ele: DOMElement, cls: String): Boolean: *

Determine whether the passed elements is assigned the given class

public

Checks if browser has onhashchange event

public

Checks if browser has Storage feature

public

ignoreCase(First: String, Second: String): Number: *

Case insensitive compare function for passed strings

public

isArray(obj: Array): Boolean: *

Check passed argument is an array

public

isEmpty(obj: Any): Boolean: *

Check passed argument is empty (undefined, null or empty string)

public

isEmpty(text: String): Boolean: *

Checks if passed string is empty

public

isFn(obj: Function): Boolean: *

Check passed argument is a function

public

isNull(obj: Any): Boolean: *

Check passed argument is null

public

isNumber(obj: Number): Boolean: *

Check passed argument is a number

public

isObj(obj: Object): Boolean: *

Check passed argument is an object

public

isString(obj: String): Boolean: *

Check passed argument is a string

public

isUndef(obj: Any): Boolean: *

Check passed argument is undefined

public

keyCode(evt: Event): Number: *

Returns the Unicode value of pressed key

public

matchCase(text: String): String: *

Returns passed string as lowercase if caseSensitive flag set false.

public

numSortAsc(First: Number, Second: Number): Number: *

Compare function for sorting passed numbers in ascending manner

public

numSortDesc(First: Number, Second: Number): Number: *

Compare function for sorting passed numbers in descending manner

public

parse(Formatted: String, Decimal: String): Number: *

Takes a string, removes all formatting/cruft and returns the raw float value

public

removeClass(ele: DOMElement, cls: String): *

Removes the specified class to the passed element

public

removeElm(node: DOMElement): DOMElement: *

Removes passed node from DOM

public

removeEvt(obj: DOMElement, type: String, Handler: Function, capture: Boolean): *

Remove event handler for specified event on passed element

public

rgxEsc(text: String): String: *

Makes regex safe string by escaping special characters from passed string

public

root: *

Export window or global object depending on the environment

public

sortDateStr(Compare: Function, locale: String): Function: *

Curried compare function for sorting passed formatted dates in desired fashion according to supplied compare function and locale

public

sortNumberStr(Compare: Function, decimal: String): Function: *

Curried compare function for sorting passed formatted numbers in desired fashion according to supplied compare function and decimal separator

public

stopEvt(evt: Event): *

Prevents further propagation of the current event in the bubbling phase

public

tag(tagname: String): NodeList: *

Returns list of element matching the supplied tag name

public

targetEvt(evt: Event): DOMElement: *

Reference to the object that dispatched the event

public

trim(text: String): String: *

Removes whitespace from both sides of passed string