Fixes https://github.com/imballinst/react-bs-datatable/issues/129. This PR prevents accessing undefined header. Instead of iterating the row's keys (which can contain a field that's not undefined in the headers' prop fields), we use the headers record right away.
Fixes https://github.com/imballinst/react-bs-datatable/issues/129. This PR prevents accessing undefined header. Instead of iterating the row's keys (which can contain a field that's not undefined in the headers'
prop
fields), we use theheaders
record right away.Signed-off-by: Try Ajitiono ballinst@gmail.com