Members

(constant) defaultCalendarAttributes :object

Default attributes for the ReactCalendar component.

Type:
  • object
Properties
NameTypeDescription
nextLabelstring | JSX.Element

The next button label.

next2Labelstring | JSX.Element

The next2 button label.

onChangefunction

The onChange event handler.

prevLabelstring | JSX.Element

The previous button label.

prev2Labelstring | JSX.Element

The previous2 button label.

Since
  • 4.4.0

(constant) defaultPaginationProps :object

Default props for the ReactPagination component.

Type:
  • object
Properties
NameTypeDescription
activeClassNamestring

The classname for the active page. It is concatenated to base class pageClassName.

activeLinkClassNamestring

The classname for the active page link. It is concatenated to base class pageLinkClassName.

breakAriaLabelsstring

Aria labels of ellipsis elements (Default are { forward: 'Jump forward', backward: 'Jump backward' }).

breakClassNamestring

The classname on tag li of the ellipsis element.

breakLabelstring

The label of the ellipsis element.

breakLinkClassNamestring

The classname on tag a of the ellipsis element.

classNamestring

The classname for the pagination container.

disabledClassNamestring

The classname for disabled previous and next buttons.

disabledLinkClassNamestring

The classname on tag a for disabled previous and next buttons.

disableInitialCallbackboolean

Disable onPageChange callback with initial page. Default: false

hrefAllControlsboolean

By default the hrefBuilder add href only to active controls. Set this prop to true so href are generated on all controls.

initialPagenumber

The initial page selected when the component is first mounted.

marginPagesDisplayednumber

The number of pages to display for margins.

nextAriaLabelstring

The aria label for the next button.

nextClassNamestring

The classname on tag li of the next button.

nextLabelstring

The label for the next button.

nextLinkClassNamestring

The classname on tag a of the next button.

nextPageRelstring

The rel property on the a tag just before the selected page. Default value prev. Set to null to disable.

nextRelstring

The rel propery on the a tag for the next page control. Default value next. Set to null to disable.

pageClassNamestring

The classname on tag li of each page element.

pageCountnumber

The total number of pages.

pageLinkClassNamestring

The classname on tag a of each page element.

pageRangeDisplayednumber

The number of pages to display for margins.

previousAriaLabelstring

The aria label for the previous button.

previousClassNamestring

The classname on tag li of the previous button.

previousLabelstring

The label for the previous button.

previousLinkClassNamestring

The classname on tag a of the previous button.

prevPageRelstring

The rel property on the a tag just before the selected page. Default value prev. Set to null to disable.

prevRelstring

The rel property on the a tag for the previous page control. Default value prev. Set to null to disable.

renderOnZeroPageCountfunction | null

Render component even with zero pages. Default: undefined

selectedPageRelstring

The rel property on the a tag for the selected page. Default value null. Set to null to disable.

Since
  • 3.3.0

Methods

getColumnStyle(styleProps, equalGrid) → {object}

Get the column style.

Parameters:
NameTypeDescription
stylePropsobject

The style properties.

equalGridboolean

Whether the grid is equal or not.

Since
  • 4.3.0
Returns:

The column style.

Type: 
object

getListItems(items, propsWithState, depth) → {Array}

Helper function to get droplist items.

Parameters:
NameTypeDescription
itemsArray

List of items to render.

propsWithStateobject

Props and state to pass to the list items.

depthnumber

Depth of the item.

Since
  • 4.3.0
Returns:

The list of items.

Type: 
Array

getModules(modules, moduleNames) → {object}

Get the modules from module names provided

Parameters:
NameTypeDescription
modulesArray

The modules to filter.

moduleNamesArray

The module names to filter.

Since
  • 4.3.0
Returns:

The modules.

Type: 
object

getRequestDataFromState(state, modules) → {object}

Get request data from state.

Parameters:
NameTypeDescription
stateobject

The state object.

modulesArray

The modules for the data grid.

Since
  • TBD
Returns:

The request data.

Type: 
object

getStart(rangeType, date) → {Date}

Get the start date based on range type.

Parameters:
NameTypeDescription
rangeTypestring

The range type, one of century, decade, year, or month.

dateDate

The date object.

Since
  • 4.4.0
Returns:

The start of range type date object.

Type: 
Date

getTodayEndOfDay() → {Date}

Get the date object of the end of day for today.

Since
  • 4.4.0
Returns:

The date object of the end of day for today.

Type: 
Date

getTodayStartOfDay() → {Date}

Get the date object of the start of day for today.

Since
  • 4.4.0
Returns:

The date object of the start of day for today.

Type: 
Date