JUI(Simple UI & Chart Component)

grid.table

Hierarchy

core
grid.table

Requires

grid.table.base
jquery

Files

Defined By

Config options

grid.table
view source
: Booleandeprecated
...

Defaults to: false

This cfg has been deprecated

grid.table
view source
: Boolean/Array
Sets a column index shown when the Show/Hide Column menu is enabled. ...

Sets a column index shown when the Show/Hide Column menu is enabled.

Defaults to: false

grid.table
view source
: Array
Sets the column key shown when converted to a CSV string. ...

Sets the column key shown when converted to a CSV string.

Defaults to: null

grid.table
view source
: Array
Sets the name of a column shown when converting to a CSV string, which must be defined in the same order as the CSV o...

Sets the name of a column shown when converting to a CSV string, which must be defined in the same order as the CSV option.

Defaults to: null

grid.table
view source
: Array
Sets the column key to be changed to a number form when converted to a CSV string. ...

Sets the column key to be changed to a number form when converted to a CSV string.

Defaults to: null

grid.table
view source
: Array
Sets the initial row list of a table. ...

Sets the initial row list of a table.

Defaults to: []

grid.table
view source
: Boolean
Sets the Show/Hide state of an extended row area when doubleclicking on a row/cell. ...

Sets the Show/Hide state of an extended row area when doubleclicking on a row/cell.

Defaults to: true

grid.table
view source
: Boolean|Array
Determines whether to use a modified row area. ...

Determines whether to use a modified row area.

Defaults to: false

Defines a DOM event to be used in a UI ...

Defines a DOM event to be used in a UI

Defaults to: {}

grid.table
view source
: Boolean
Determines whether to use an extended row area. ...

Determines whether to use an extended row area.

Defaults to: false

grid.table
view source
: Boolean
Sets the Show/Hide state of an extended row area when clicking on a row. ...

Sets the Show/Hide state of an extended row area when clicking on a row.

Defaults to: true

grid.table
view source
: Array
Sets the name of columns in the order of being displayed on the table screen. ...

Sets the name of columns in the order of being displayed on the table screen.

Defaults to: null

grid.table
view source
: Boolean
Determines whether to use the move function when you fire row draggable event. ...

Determines whether to use the move function when you fire row draggable event.

Defaults to: false

grid.table
view source
: Boolean
Determines whether to use the column resizing function. ...

Determines whether to use the column resizing function.

Defaults to: false

grid.table
view source
: Array

Sets the initial row list of a table (@Deprecated).

Sets the initial row list of a table (@Deprecated).

grid.table
view source
: Boolean
Determines whether to use a table scroll. ...

Determines whether to use a table scroll.

Defaults to: false

grid.table
view source
: Integer
Sets the reference height of a body area when using a table scroll. ...

Sets the reference height of a body area when using a table scroll.

Defaults to: 200

grid.table
view source
: Boolean/Array
Determines whether to use the table sort function. ...

Determines whether to use the table sort function.

Defaults to: false

grid.table
view source
: Boolean
Determines whether to use the sort function when you click on a column. ...

Determines whether to use the sort function when you click on a column.

Defaults to: true

grid.table
view source
: Integer
Determines whether to use the table sort function. ...

Determines whether to use the table sort function.

Defaults to: null

grid.table
view source
: String
Determines whether to use the table sort function. ...

Determines whether to use the table sort function.

Defaults to: "asc"

Defines a template markup to be used in a UI ...

Defines a template markup to be used in a UI

Defaults to: {}

grid.table
view source
: Integer
Sets the area of a table. ...

Sets the area of a table.

Defaults to: 0

Defined By

Methods

grid.table
view source
( ) : Integer
Gets the index of a row that is activated in an extended/modified/selected state. ...

Gets the index of a row that is activated in an extended/modified/selected state.

Returns

  • Integer

    index

( name, params )
Check the parameter type of a UI method and generates an alarm when a wrong value is entered ...

Check the parameter type of a UI method and generates an alarm when a wrong value is entered

Parameters

  • name : String

    Method name

  • params : Array

    Parameters

grid.table
view source
( row )
Add a row or a child row to at a specified index. ...

Add a row or a child row to at a specified index.

Parameters

  • row : RowObject
( name, callback ) : Mixed
Sets a callback function that is called after a UI method is run ...

Sets a callback function that is called after a UI method is run

Parameters

  • name : String

    Method name

  • callback : Function

Returns

  • Mixed
( name, callback ) : Mixed
Sets a callback function that is called before a UI method is run ...

Sets a callback function that is called before a UI method is run

Parameters

  • name : String

    Method name

  • callback : Function

Returns

  • Mixed
( name, callback )
Sets a callback function and the delay time before/after a UI method is run ...

Sets a callback function and the delay time before/after a UI method is run

Parameters

  • name : String

    Method name

  • callback : Function
grid.table
view source
( index )
Add a checked class to a row at a specified index. ...

Add a checked class to a row at a specified index.

Parameters

  • index : Integer
grid.table
view source
( ) : Integer
Gets the number of trows of a table. ...

Gets the number of trows of a table.

Returns

  • Integer

    count

Removes all events set in a UI obejct and the DOM element ...

Removes all events set in a UI obejct and the DOM element

grid.table
view source
( name, isTree )
Downloads the data of a table as a CSV file. ...

Downloads the data of a table as a CSV file.

Parameters

  • name : String
  • isTree : Boolean
( type, args ) : Mixed
Generates a custom event. ...

Generates a custom event. The first parameter is the type of a custom event. A function defined as an option or on method is called

Parameters

  • type : String

    Event type

  • args : Function

    Event Arguments

Returns

  • Mixed
grid.table
view source
( index )
Hides a child row of a specified index. ...

Hides a child row of a specified index.

Parameters

  • index : Integer
grid.table
view source
( )
Hides all child rows of a specified index. ...

Hides all child rows of a specified index.

grid.table
view source
( index ) : RowObject
Gets the row at the specified index. ...

Gets the row at the specified index.

Parameters

  • index : Integer

Returns

  • RowObject

    row

grid.table
view source
( index ) : Array
Gets all rows of at the specified index including child rows. ...

Gets all rows of at the specified index including child rows.

Parameters

  • index : Integer

Returns

  • Array

    rows

grid.table
view source
( key ) : ColumnObject
Gets the column at the specified index. ...

Gets the column at the specified index.

Parameters

  • key : "Integer"/"String"

    index or column key

Returns

  • ColumnObject

    column

grid.table
view source
( isTree ) : String
Gets the data of a table as a CSV string. ...

Gets the data of a table as a CSV string.

Parameters

  • isTree : Boolean

Returns

  • String

    csv

grid.table
view source
( isTree ) : String
Gets the data of a table as a CSV string encoded as base64. ...

Gets the data of a table as a CSV string encoded as base64.

Parameters

  • isTree : Boolean

Returns

  • String

    base64

grid.table
view source
( ) : RowObject
Get a row in which the modified area is currently activated. ...

Get a row in which the modified area is currently activated.

Returns

  • RowObject

    row

grid.table
view source
( ) : RowObject
Get a row in which the extended area is currently activated. ...

Get a row in which the extended area is currently activated.

Returns

  • RowObject

    row

grid.table
view source
( key )
Hides the column index (or column name). ...

Hides the column index (or column name).

Parameters

  • key : "Integer"/"String"

    index or column name

Hides the Show/Hide Column menu. ...

Hides the Show/Hide Column menu.

Hides the modified row area of a specified index. ...

Hides the modified row area of a specified index.

Hides the extended row area of a specified index. ...

Hides the extended row area of a specified index.

grid.table
view source
( key )
It is possible to determine the index or name of the column to be shown in an array. ...

It is possible to determine the index or name of the column to be shown in an array.

Parameters

  • key : "Integer"/"String"

    index or column name

grid.table
view source
( index, row )
Adds a row at a specified index. ...

Adds a row at a specified index.

Parameters

  • index : Integer
  • row : RowObject
grid.table
view source
( ) : Array
Gets all the rows of a table. ...

Gets all the rows of a table.

Returns

  • Array

    rows

grid.table
view source
( ) : Array
Gets all the rows of a table including child rows. ...

Gets all the rows of a table including child rows.

Returns

  • Array

    rows

grid.table
view source
( ) : Array
Gets all rows in a check state. ...

Gets all rows in a check state.

Returns

  • Array

    rows

grid.table
view source
( ) : Array
Gets all columns. ...

Gets all columns.

Returns

  • Array

    columns

grid.table
view source
( ) : Array
Gets the data of all the rows of a table. ...

Gets the data of all the rows of a table.

Returns

  • Array

    datas

grid.table
view source
( index, targetIndex )
Moves a row iat a specified index to the target index. ...

Moves a row iat a specified index to the target index.

Parameters

  • index : Integer
  • targetIndex : Integer
Removes a custom event of an applicable type or callback handler ...

Removes a custom event of an applicable type or callback handler

Parameters

  • type : String

    Event type

( type, callback )
A callback function defined as an on method is run when an emit method is called ...

A callback function defined as an on method is run when an emit method is called

Parameters

  • type : String

    Event type

  • callback : Function
grid.table
view source
( index )
Shows a child row of a specified index. ...

Shows a child row of a specified index.

Parameters

  • index : Integer
grid.table
view source
( )
Shows all child rows of a specified index. ...

Shows all child rows of a specified index.

grid.table
view source
( index )
Remove a row at a specified index. ...

Remove a row at a specified index.

Parameters

  • index : Integer
grid.table
view source
( )
Removes all rows. ...

Removes all rows.

grid.table
view source
( )
Resets the inner scroll and columns of a table. ...

Resets the inner scroll and columns of a table.

Resets the sizes of all columns of a table. ...

Resets the sizes of all columns of a table.

grid.table
view source
( height )
Sets the scroll based on the height of a table. ...

Sets the scroll based on the height of a table.

Parameters

  • height : Integer
grid.table
view source
( index ) : RowObject
Adds a selected class to a row at a specified index and gets an instance of the applicable row. ...

Adds a selected class to a row at a specified index and gets an instance of the applicable row.

Parameters

  • index : Integer

Returns

  • RowObject

    row

grid.table
view source
( )
Updates a table using a CVS string. ...

Updates a table using a CVS string.

Updates a table using a CVS file. ...

Updates a table using a CVS file.

Dynamically defines the options of a UI ...

Dynamically defines the options of a UI

Parameters

  • key : String
  • value : Mixed
( name, html )
Dynamically defines the template method of a UI ...

Dynamically defines the template method of a UI

Parameters

  • name : String

    Template name

  • html : String

    Template markup

grid.table
view source
( key )
Shows the column index (or column name). ...

Shows the column index (or column name).

Parameters

  • key : "Integer"/"String"

    index or column name

grid.table
view source
( x, y )
Shows the Show/Hide Column menu at specified coordinates. ...

Shows the Show/Hide Column menu at specified coordinates.

Parameters

  • x : Integer
  • y : Integer
grid.table
view source
( index )
Shows the modified row area of a specified index. ...

Shows the modified row area of a specified index.

Parameters

  • index : Integer
grid.table
view source
( index )
Shows the extended row area of a specified index. ...

Shows the extended row area of a specified index.

Parameters

  • index : Integer
grid.table
view source
( ) : Integer
Gets the size of all the rows of a table. ...

Gets the size of all the rows of a table.

Returns

  • Integer

    size

grid.table
view source
( index, order )
Moves a row iat a specified index to the target index. ...

Moves a row iat a specified index to the target index.

Parameters

  • index : Integer
  • order : String

    "asc" or "desc"

grid.table
view source
( x, y )
Shows or hides the Show/Hide Column menu. ...

Shows or hides the Show/Hide Column menu.

Parameters

  • x : Integer
  • y : Integer
grid.table
view source
( index )
Removes a checked class from a row at a specified index. ...

Removes a checked class from a row at a specified index.

Parameters

  • index : Integer
Removes checked classes from all rows. ...

Removes checked classes from all rows.

grid.table
view source
( ) : RowObject
Removes a selected class from a selected row and gets an instance of the row in question. ...

Removes a selected class from a selected row and gets an instance of the row in question.

Returns

  • RowObject

    row

grid.table
view source
( rows )
Updates the list of rows or modifies the row at a specified index. ...

Updates the list of rows or modifies the row at a specified index.

Parameters

  • rows : Array
grid.table
view source
( rows )
It is possible to configure a tree table using an object array with the index and data properties. ...

It is possible to configure a tree table using an object array with the index and data properties.

Parameters

  • rows : Array
Defined By

Events

grid.table
view source
( e )
Event that occurs when a row is clicked ...

Event that occurs when a row is clicked

Parameters

  • e : RowObject) row @param {EventObject

    The event object

grid.table
view source
( e )
Event that occurs when a column is clicked. ...

Event that occurs when a column is clicked.

Parameters

  • e : ColumnObject) column @param {EventObject

    The event object

grid.table
view source
( e )
Event that occurs when hidden column is selected. ...

Event that occurs when hidden column is selected.

Parameters

  • e : ColumnObject) column @param {EventObject

    The event object

grid.table
view source
( e )
Event that occurs when the column resizing is activated. ...

Event that occurs when the column resizing is activated.

Parameters

  • e : ColumnObject) column @param {EventObject

    The event object

grid.table
view source
( e )
Event that occurs when shown column is selected. ...

Event that occurs when shown column is selected.

Parameters

  • e : ColumnObject) column @param {EventObject

    The event object

grid.table
view source
( e )
Event that occurs when a row is double clicked ...

Event that occurs when a row is double clicked

Parameters

  • e : RowObject) row @param {EventObject

    The event object

grid.table
view source
( e )
Event that occurs when the modification of a row is completed. ...

Event that occurs when the modification of a row is completed.

Parameters

  • e : RowObject) row @param {EventObject

    The event object

grid.table
view source
( e )
Event that occurs when a row is in a modification state. ...

Event that occurs when a row is in a modification state.

Parameters

  • e : RowObject) row @param {EventObject

    The event object

grid.table
view source
( e )
Event that occurs when the extended row area is enabled. ...

Event that occurs when the extended row area is enabled.

Parameters

  • e : RowObject) row @param {EventObject

    The event object

grid.table
view source
( e )
Event that occurs when the extended row area is disabled. ...

Event that occurs when the extended row area is disabled.

Parameters

  • e : RowObject) row @param {EventObject

    The event object

grid.table
view source
( e )
Event that occurs when a child row is hidden. ...

Event that occurs when a child row is hidden.

Parameters

  • e : RowObject) row @param {EventObject

    The event object

grid.table
view source
( )
Event that occurs when all child rows are hidden. ...

Event that occurs when all child rows are hidden.

grid.table
view source
( e )
Event that occurs when a child row is shown. ...

Event that occurs when a child row is shown.

Parameters

  • e : RowObject) row @param {EventObject

    The event object

grid.table
view source
( )
Event that occurs when all child rows are shown. ...

Event that occurs when all child rows are shown.

grid.table
view source
( e )
Event that occurs when a row is right clicked. ...

Event that occurs when a row is right clicked.

Parameters

  • e : RowObject) row @param {EventObject

    The event object

grid.table
view source
( e )
Event that occurs when the scroll of a table is located at the lowermost position. ...

Event that occurs when the scroll of a table is located at the lowermost position.

Parameters

  • e : EventObject

    The event object

grid.table
view source
( e )
Event that occurs when a row is selected (@Deprecated) ...

Event that occurs when a row is selected (@Deprecated)

Parameters

  • e : RowObject) row @param {EventObject

    The event object

grid.table
view source
( e )
Event that occurs when the table is sorted. ...

Event that occurs when the table is sorted.

Parameters

  • e : ColumnObject) column @param {EventObject

    The event object