facebookarchive / fixed-data-table

A React table component designed to allow presenting thousands of rows of data.
http://facebook.github.io/fixed-data-table/
Other
4.3k stars 553 forks source link

Example from docs not rendering correctly #368

Open ksmithbaylor opened 8 years ago

ksmithbaylor commented 8 years ago

Using version 0.6.0 and the example from the Getting Started guide on the docs site, the table does not render using the correct styles, even though the styles are present on the page.

Here's a link to a non-working example: http://www.webpackbin.com/Vkzul0ypg

And a screenshot of the output: image

esparkman commented 8 years ago

:+1:

piratus commented 8 years ago

Seems like the base style is missing

danesparza commented 8 years ago

By 'styles are present on the page' do you mean that you have included the 3 css files in your page somewhere?

Example:

<!-- Fixed data table CSS -->
<link href="/ui/css/fixed-data-table-base.min.css" rel="stylesheet" type='text/css'>
<link href="/ui/css/fixed-data-table.min.css" rel="stylesheet" type='text/css'>
<link href="/ui/css/fixed-data-table-style.min.css" rel="stylesheet" type='text/css'>
CaptainN commented 8 years ago

This is not mentioned in the docs afaict. Are we supposed to load css files?

slashwhatever commented 8 years ago

+1

nicktobolski commented 8 years ago

Happening for me as well -- with examples/FilterExample.js.