I was really liking the datagrid, I particularly like how it looks, but there's a few places where I'm both stuck and pissed off at the way it's doing things. I'm trying to duplicate in scala their demo app, take a look at this:
problem 2: notice that firstCol.width means that firstCol is mutable!!! ugh!
problem 3: (and it goes with problem 2) instead of something like this.setState(columnstatemodified) it sets a mutable value and then does Nothing with the state (but I guess, does setState to force a re-render)
I tried to do this in java, by having a Column object and a MutableColumn trait (extending js.object), but it doesn't render when it's supposed to.
If this code smell wasn't enough, the datagrid component doesn't work well with the rest of the scalajs-react-components demo. The rows paint weirdly, and I end up getting all kinds of weird effects: overlapping elements, etc.
BTW, the reason I wanted a more sophisticated grid is because I need to render a column with some actions. ReactTable doesn't seem to have that, MuiTable could probably do it with a hover and a menu on the hover.
OK... I think I'm taking on a different tack... I'm making some modifications to ReactTable to support the kind of column I need, in the process I also made some changes to it that make it (IMHO) a little more scala-like.
I'll need to back out the changes I made to put it the datagrid so I can file those as different PRs