These are chat archives for chandu0101/scalajs-react-components

1st
Sep 2017
Andreas Gies
@atooni
Sep 01 2017 11:51
@elyphas As far as I can see the React Table is a read only component at the moment .
Roberto Leibman
@rleibman
Sep 01 2017 13:17
I don't see why... I'd have to play with it, but with my changes you should be able to create a renderer with a component.
Andreas Gies
@atooni
Sep 01 2017 13:18
true, I wasn#t considering those as og yet
Roberto Leibman
@rleibman
Sep 01 2017 13:18
I don't have the code in front of me right now, but it should not be hard to add a oncellclick type of event that starts editing mode.
It would depend if you want the editing components always on (I wuold for something like a checkbox) or only on click.
trepidacious
@trepidacious
Sep 01 2017 20:14
I've written a "text field" for tables that is just a div until clicked or focused, then becomes a MuiTextField
MuiTextField seems quite heavy, and renders badly when you drag it around with react-sortable-hoc, so it's much nicer to have just divs until editing is needed
Roberto Leibman
@rleibman
Sep 01 2017 22:54
Awesome!