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
em > renderer for Row will display as many columns as VO in dataProvider has. > Header could be something which we can hide. > > Piotr > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-fle

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

2017-01-03 Thread piotrz
columns as VO in dataProvider has. Header could be something which we can hide. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Discuss-About-DataGrid-MDL-Table-tp57815p57822.html Sent from the Apache

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

2017-01-03 Thread Carlos Rovira
Hi, just thinking in MDL Table, I want to make some research to see how to do it Maybe it could be an extension of DataGrid, or it could be a List with a item renderer with cells (many times that was the trick in old Flex SDK) I remember reading some Peter's post about data grid saying that