JUI(Simple UI & Chart Component)

grid.xtable

Hierarchy

core
grid.xtable

Requires

Files

Defined By

Config options

grid.xtable
view source
: Booleandeprecated
...

Defaults to: false

This cfg has been deprecated

grid.xtable
view source
: String
Sets the buffer type of a table. ...

Sets the buffer type of a table.

Defaults to: 'scroll'/'page'/'s-page'/'vscroll'

grid.xtable
view source
: Integer
Sets the number of rows per page. ...

Sets the number of rows per page.

Defaults to: 100

grid.xtable
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.xtable
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.xtable
view source
: Array
Sets the maximum number of rows when creating a CSV string. ...

Sets the maximum number of rows when creating a CSV string.

Defaults to: 10000

grid.xtable
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.xtable
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.xtable
view source
: Array
Sets the initial row list of a table. ...

Sets the initial row list of a table.

Defaults to: []

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

Defines a DOM event to be used in a UI

Defaults to: {}

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

Determines whether to use an extended row area.

Defaults to: false

grid.xtable
view source
: Boolean
Shows the extended area automatically when clicking on a row. ...

Shows the extended area automatically when clicking on a row.

Defaults to: true

grid.xtable
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.xtable
view source
: Boolean/Array
Determines whether to use the table sort function. ...

Determines whether to use the table sort function.

Defaults to: false

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

Determines whether to use the column resizing function.

Defaults to: false

grid.xtable
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: 26

grid.xtable
view source
: Array

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

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

grid.xtable
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.xtable
view source
: Integer
Sets the reference width of a body area when using a table scroll. ...

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

Defaults to: 0

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

Determines whether to use the table sort function.

Defaults to: false

grid.xtable
view source
: Boolean
Configures settings to ensure that the sort state can be maintained even when the table is updated. ...

Configures settings to ensure that the sort state can be maintained even when the table is updated.

Defaults to: false

grid.xtable
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.xtable
view source
: Integer
Determines whether to use the table sort function. ...

Determines whether to use the table sort function.

Defaults to: null

grid.xtable
view source
: Boolean
Determines whether to show the loading screen when sorting a table. ...

Determines whether to show the loading screen when sorting a table.

Defaults to: false

grid.xtable
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.xtable
view source
: Integer
Sets the area of a table. ...

Sets the area of a table.

Defaults to: 0

grid.xtable
view source
: Boolean
Activate the xss filter to set the column value. ...

Activate the xss filter to set the column value.

Defaults to: false

Defined By

Methods

grid.xtable
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.xtable
view source
( row, 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
  • 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.xtable
view source
( )
Remove all data ...

Remove all data

grid.xtable
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.xtable
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.xtable
view source
( callback )
Filters columns at a specified to locate rows that contain keywords in the cell value. ...

Filters columns at a specified to locate rows that contain keywords in the cell value.

Parameters

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

Hides a child row of a specified index.

Parameters

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

Hides all child rows of a specified index.

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

Gets the row at the specified index.

Parameters

  • index : Integer|String

Returns

  • RowObject

    row

grid.xtable
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.xtable
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.xtable
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.xtable
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.xtable
view source
( key ) : ColumnObject
Gets the data at the specified index. ...

Gets the data at the specified index.

Parameters

  • key : "Integer"/"String"

    index

Returns

  • ColumnObject

    data

grid.xtable
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.xtable
view source
( ) : Integer
Gets the current page of a table. ...

Gets the current page of a table.

Returns

  • Integer

    page

grid.xtable
view source
( height )deprecated
...

This method has been deprecated

Sets the scroll based on the height of a table.

Parameters

  • height : Integer
grid.xtable
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.

grid.xtable
view source
( )
Hides the extended row area of a specified index. ...

Hides the extended row area of a specified index.

Hides the loading screen. ...

Hides the loading screen.

grid.xtable
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.xtable
view source
( )
...
grid.xtable
view source
( ) : Array
Gets all the rows of a table. ...

Gets all the rows of a table.

Returns

  • Array

    rows

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

Gets all columns.

Returns

  • Array

    columns

grid.xtable
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.xtable
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 : Array
  • order : Array

    "asc" or "desc"

grid.xtable
view source
( )
Changes to the next page. ...

Changes to the next page.

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.xtable
view source
( index )
Shows a child row of a specified index. ...

Shows a child row of a specified index.

Parameters

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

Shows all child rows of a specified index.

grid.xtable
view source
( index )
Changes to the page of at a specified index. ...

Changes to the page of at a specified index.

Parameters

  • index : Integer
grid.xtable
view source
( )
Resets the inner scroll and columns of a table. ...

Resets the inner scroll and columns of a table.

grid.xtable
view source
( )
Returns filtered rows to the original state. ...

Returns filtered rows to the original state.

grid.xtable
view source
( funcType, columnIndex, callback )
Ir is possible to use a function for all row data applicable to the column (or column name) of a specified column (or...

Ir is possible to use a function for all row data applicable to the column (or column name) of a specified column (or column name). Currently only SUM and AVG are supported.

Parameters

  • funcType : "sum"/"svg"
  • columnIndex : Integer
  • callback : Function
grid.xtable
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.xtable
view source
( index, dist )
Sets the scroll based on the height of a table. ...

Sets the scroll based on the height of a table.

Parameters

  • index : Integer|String
  • dist : Integer
grid.xtable
view source
( width )
Sets the scroll based on the width of a table. ...

Sets the scroll based on the width of a table.

Parameters

  • width : Integer
grid.xtable
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.xtable
view source
( )
Updates a table using a CVS string. ...

Updates a table using a CVS string.

grid.xtable
view source
( )
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.xtable
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.xtable
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.xtable
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.xtable
view source
( delay )
Shows the loading screen for the specified delay time. ...

Shows the loading screen for the specified delay time.

Parameters

  • delay : Integer
grid.xtable
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.xtable
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.xtable
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.xtable
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.xtable
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.xtable
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.xtable
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.xtable
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.xtable
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.xtable
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.xtable
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.xtable
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.xtable
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.xtable
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.xtable
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.xtable
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.xtable
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.xtable
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