1.0.12 • Published 4 years ago

swatantra_table_creator v1.0.12

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Welcome to Custom Js Table

npm i swatantra_table_creator

add this to html file

 <link
      rel="stylesheet"
      href="./node_modules/swatantra_table_creater/style.css"
    />

It will take data as:

   option = {
      data*: [{}],
      maxRow: number,
      excludeColumns: [],
      sortableColumns: [],
      isStickyHeader: boolean,
      pagination: {
      per_page_record: 15
      }
};

Start represent mendatory

Options

data -> accept only array of object

maxRow -> custome number of row want to show

excludeColumns -> which column do you want to exclude from tables

sortableColumns -> it takes array of string -> should be column name like "column_name"

isStickyHeader -> it takes as boolean wheather want to have sticky header or not

pagination ->

 {
  per_page_record: (should be number more than **0** )
 }

GitHub Link

Custom Js Table

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago