This repository was archived by the owner on Jan 15, 2022. It is now read-only.
This repository was archived by the owner on Jan 15, 2022. It is now read-only.
some cells are blank #130
Open
Description
<Reactable.Table className={"table table-striped "+(wide?"table-wide":"table-narrow")}
sortable={true}
itemsPerPage={3}
filterable={this.props.searchEnabled && ['Number', 'Status', 'Name', 'Date', 'otal', 'Submitted', 'Paid']} >
{_.map(claims.toJS(), function(claim, index) {
var clicker = this.clickRow.bind(this, claim.id);
return (
<Reactable.Tr key={claim.id}>
<Reactable.Td column="Number" value={claim.number.toString()} handleClick={clicker}>{claim.number.toString()}</Reactable.Td>
<Reactable.Td column="Status" value={claim.status} handleClick={clicker}>{claim.status}</Reactable.Td>
</Reactable.Tr>
);
}, this)}
</Reactable.Table>
displays nothing in any of the number cells. claim.number is a Number, so I added the toString() in a futile attempt to get it to appear. status, and most (but not all) of the other columns that I elided out work fine.