From c8bf326f70290e8c7148fe8c693376092b220108 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Sat, 7 Oct 2017 20:26:07 +0530 Subject: [PATCH] fix readme --- README.md | 23 +++++------------------ index.html | 2 +- 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 14a31ab..5f85d5b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ReGrid +# Frappé DataTable A modern datatable library for the web @@ -13,25 +13,12 @@ A modern datatable library for the web ## Usage ```js -var grid = new ReGrid({ - wrapper: document.querySelector('#data-table'), +var grid = new DataTable(document.querySelector('#data-table'), { data: { - columns: [ - 'Sr No.', - 'First Name', - 'Last Name', - ], + columns: [ 'Sr No.', 'First Name', 'Last Name' ], rows: [ - [ - '1', - 'Don', - 'Joe' - ], - [ - '2', - 'Mary', - 'Jane' - ] + [ '1', 'Don', 'Joe' ], + [ '2', 'Mary', 'Jane' ] ] } }); diff --git a/index.html b/index.html index 13f908f..fb4d1ef 100644 --- a/index.html +++ b/index.html @@ -17,7 +17,7 @@

Frappé DataTable

- +