Closed LePhenix47 closed 1 year ago
title
: Adds a title as table<caption>
data
: Adds the table rows to the <thead>
and the table rows + table cells for the <tbody>
sort
: Adds the sorting button to the <thead>
filter
: Displays the <QuerySearch />
componentinfo
: Displays the <EntriesIndex/>
componentpaging
: Displays the <PaginationIndex />
componentlengthMenu
: Adds the <option>
to the <ShownEntries />
componentscroll
+ height
:
Hides:<ShownEntries/>
component<PaginationIndex />
componentUpdates the <EntriesIndex />
text and enables scrolling in the table
Makes the sorting and filtering still available
I currently have a bug where if there is no data available to display, the table will show the message but also with a "0" on the <tbody>
and also on the <thead>
Maybe switch data.length
to copiedData.length
Done!
Features that the jQuery plugin has that need to be added into our React component library:
title
)data
)filter
)sort
)lengthMenu
)paging
)scrolling
+height
)info
)