snode-table
v1.0.0
Published
custom html table with all event
Downloads
1
Readme
snode-table
html custom table
Install
npm install snode-table --save
Example
<Table
tableClass={"table rbt-table"}
theadClass={"thead-inverse"}
data={rows}
columns={columns}
customCell={customCell}/>
Props
| Name | Detail & Type | Example | | ------------- | ------------- | ------------- | | tableClass | class name for | "table" | | theadClass | class name for | "thead" | | data | collection of object data in array | [{name: "Emran", email: "[email protected]"}] | | columns | collection of title and data key in array | [{name: "name", title: "Name"}, {name: "email", title: "Email"}]| | customCell | collection of object(data_key as key) and each object value have to function | name: (this_column_data, key, this_row_data)=>{}|