o2o_layout
TypeScript icon, indicating that this package has built-in type declarations

3.0.77 • Public • Published

install

npm install --save o2o-layout

Library BigDataVn

CanAccess Component: check quyền truy cập, render or not render element khi có quyền.

Nodata Component: Show nodata.

Dashboard Layout.

Landing Layout.

Các Model dùng chung cho nhiều dự án như Organizations, Users ...

##StikyTable

  • Fixed column
  • Sticky sroll
  • Automatic check fixed or un-fixed columns based on with of device sreen
  • Allow selection
  • ....
import { StickyTable } from 'o2o_layout';
     <StickyTable
          rowSelection={{
              selectedRowKeys: this.state.selectedRowKeys,
              onChange: (selectedRowKeys: any, selectedRows: any) => {  
              }
          }}
          setFixedTable={this.setFixedTable} // function calculate fixed column or un-fixed column table
          column={columns}
          dataSource={sources}
          loading={this.props.ui.isLoading}
          onRow={(record: contentItem, rowIndex: number) => {
              return {
                  onClick: (event: any) => {
                  }, // click row
              };
          }}
          title={() => {
            return (<p>Table title</p>)
          }
       />

Readme

Keywords

none

Package Sidebar

Install

npm i o2o_layout

Weekly Downloads

2

Version

3.0.77

License

ISC

Unpacked Size

1.55 MB

Total Files

256

Last publish

Collaborators

  • trac24