JUI(Simple UI & Chart Component)

ui.paging

Hierarchy

core
ui.paging

Requires

jquery

Files

Paging component that can be applied to a screen with tables or various other data

Defined By

Config options

ui.paging
view source
: Integer
Total number of data records subject to paging) ...

Total number of data records subject to paging)

Defaults to: 0

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

Defines a DOM event to be used in a UI

Defaults to: {}

ui.paging
view source
: Integer
Number of data records per page ...

Number of data records per page

Defaults to: 10

ui.paging
view source
: Integer
Number of pages shown on the paging screen ...

Number of pages shown on the paging screen

Defaults to: 5

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

Defines a template markup to be used in a UI

Defaults to: {}

Defined By

Methods

( 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

( 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
Removes all events set in a UI obejct and the DOM element ...

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

( 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
ui.paging
view source
( )
Changes to the first page ...

Changes to the first page

ui.paging
view source
( )
Changes to the last page ...

Changes to the last page

ui.paging
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
ui.paging
view source
( pNo )
Changes to a specified page number, and gets the currently enabled page number if there is no parameter ...

Changes to a specified page number, and gets the currently enabled page number if there is no parameter

Parameters

  • pNo : Integer

    Page number

ui.paging
view source
( )
Changes to the previous page ...

Changes to the previous page

ui.paging
view source
( count )
Reloads the number of specified data records, or reloads the initially configured number of data records if there is ...

Reloads the number of specified data records, or reloads the initially configured number of data records if there is no parameter

Parameters

  • count : Integer

    Data total count

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

Defined By

Events

ui.paging
view source
( page )
Event that occurs when the page is changed ...

Event that occurs when the page is changed

Parameters

  • page : Integer

    Active page number

ui.paging
view source
( )
Event that occurs when the page is reloaded ...

Event that occurs when the page is reloaded