Re: [FlexJS][Discuss] About DataGrid -> MDL Table

2017-01-03 Thread OmPrakash Muppirala
I think for the HTML version, we should build it on top of a native Table element. There are a lot of intricacies with grid layout and sizing that Table already solves. We don't want to reimplement all these functionalities in the AS3/JS layer. Thanks, Om On Tue, Jan 3, 2017 at 9:34 AM, Alex Ha

Re: [FlexJS][Discuss] About DataGrid -> MDL Table

2017-01-03 Thread Alex Harui
IMO, Tables are not always DataGrids. Only if the cells have enough shared stuff to make it worth having a factory for them. A generic Table probably can't have a renderer. So it is fine to leverage dataProvider for some Tables. My 2 cents, -Alex On 1/3/17, 8:43 AM, "carlos.rov...@gmail.com on

Re: [FlexJS][Discuss] About DataGrid -> MDL Table

2017-01-03 Thread Carlos Rovira
Thanks Peter, I think I'll go the List route since I think a item renderer per row would be sufficient Right now we are not making the SWF version, but I think when we go that route the approach would be ok as well. Thanks for your comments! :) 2017-01-03 17:04 GMT+01:00 Peter Ent : > Hi

Re: [FlexJS][Discuss] About DataGrid -> MDL Table

2017-01-03 Thread Peter Ent
Hi (back from vacation here in the US), The FlexJS html.DataGrid is indeed composed of Lists which sit inside a scrollable Viewport so they all scroll together. The DataGrid beads take care of synchronizing the selection and produce a single change event. The header is a ButtonBar. The DataGridCo

Re: [FlexJS][Discuss] About DataGrid -> MDL Table

2017-01-03 Thread Carlos Rovira
Hi Piotr, I see something similar. I want to check more MDL table examples to see if there's more "data grid type" behaviour like cell editing, ordering, or something that make hard to do this with a List. If not, I think we could go down that path 2017-01-03 15:23 GMT+01:00 piotrz : > Carlos, >

Re: [FlexJS][Discuss] About DataGrid -> MDL Table

2017-01-03 Thread piotrz
Carlos, I see that Table has quite similar structure from FlexJS point of view to Tabs. Table has THead and TBody can have multiple columns Tabs has TabBar and multiple TabPanel Table could be the List with itemRenderer for Row and Header. Default item renderer for Row will display as many colum