Skip to content

Commit

Permalink
chore: simply readme demo
Browse files Browse the repository at this point in the history
  • Loading branch information
fangsmile committed Jul 5, 2023
1 parent 4bf098a commit 9066b43
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 17 deletions.
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,32 +99,28 @@ const columns =[
];

const option = {
parentElement: document.getElementById(Table_CONTAINER_DOM_ID),
parentElement: document.getElementById(CONTAINER_ID),
records:[
{
{
"230517143221027": "CA-2018-156720",
"230517143221030": "JM-15580",
"230517143221032": "Bagged Rubber Bands",
"230517143221040": "3.024",
"230517143221041": "-0.605"
},
{
},
{
"230517143221027": "CA-2018-115427",
"230517143221030": "EB-13975",
"230517143221032": "GBC Binding covers",
"230517143221040": "20.72",
"230517143221041": "6.475"
},
...
},
// ...
],
columns,
widthMode:'standard'
};
const tableInstance = new VTable.ListTable(option);




```

##
Expand Down
13 changes: 6 additions & 7 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,26 +97,25 @@ const columns =[
];

const option = {
parentElement: document.getElementById(Table_CONTAINER_DOM_ID),
parentElement: document.getElementById(CONTAINER_ID),
records:[
{
{
"230517143221027": "CA-2018-156720",
"230517143221030": "JM-15580",
"230517143221032": "Bagged Rubber Bands",
"230517143221040": "3.024",
"230517143221041": "-0.605"
},
{
},
{
"230517143221027": "CA-2018-115427",
"230517143221030": "EB-13975",
"230517143221032": "GBC Binding covers",
"230517143221040": "20.72",
"230517143221041": "6.475"
},
...
},
// ...
],
columns,
widthMode:'standard'
};
const tableInstance = new VTable.ListTable(option);

Expand Down

0 comments on commit 9066b43

Please sign in to comment.