We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey,
When I create the table extra rows seem to be created, yet I only have 4 records in my global variable.
` handleAssignedBookings() { //get bookings let data, columns, options = {};
data = DATA.bookings.map( function(items) { if( items.status != 'pending' ) { return items; } }); //get columns columns = [ { header: 'Name', accessor: 'driver.firstName', }, { header: 'Pick-up Date/Time', accessor: 'pickUp.dateTime', }, { header: 'From', accessor: 'from.location', }, { header: 'To', accessor: 'to.location', }, { header: 'Status', accessor: 'status' } ]; //set table config options //https://github.com/tannerlinsley/react-table#props options = { showPageSizeOptions: false, showPageJump: false, showPagination: false } return { data: data, columns: columns, options: options } }`
This is one of me methods that I pass to create the table. I've also attached an image
Thanks
The text was updated successfully, but these errors were encountered:
It seems I need to explicitly set minRows in my options. Thought there would be a default ?
Sorry, something went wrong.
No branches or pull requests
Hey,
When I create the table extra rows seem to be created, yet I only have 4 records in my global variable.
` handleAssignedBookings() {
//get bookings
let data,
columns,
options = {};
This is one of me methods that I pass to create the table. I've also attached an image
Thanks
The text was updated successfully, but these errors were encountered: