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 behalf of Carlos Rovira" <carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> wrote: >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 <p...@adobe.com>: > >> 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 DataGridColumn MXML elements just serve >>to >> provide information to the ButtonBar for the title of the header button >> and to each list so it knows which dataField to use. >> >> If the MDL work has no SWF support, and from what I can tell in this >> thread, the MDL Table is pretty complex (with headers, footer, body) you >> might opt to just do a 1:1 composition. If you don't need the SWF >>support >> then don't make it too complex. >> >> ‹peter >> >> On 1/3/17, 6:44 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" >> <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> wrote: >> >> >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 FlexJS >> >Datagrid is formed by various List synced, is that true? >> > >> >So right now I want to start this thread in order to discuss and see >> >opinions on how is the best way to create the MDL Table component. >> > >> >Thanks >> > >> >-- >> >Carlos Rovira >> >http://about.me/carlosrovira >> >> > > >-- > >Carlos Rovira >Director General >M: +34 607 22 60 05 >http://www.codeoscopic.com >http://www.avant2.es > >Este mensaje se dirige exclusivamente a su destinatario y puede contener >información privilegiada o confidencial. Si ha recibido este mensaje por >error, le rogamos que nos lo comunique inmediatamente por esta misma vía y >proceda a su destrucción. > >De la vigente Ley Orgánica de Protección de Datos (15/1999), le >comunicamos >que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC >S.A. La finalidad de dicho tratamiento es facilitar la prestación del >servicio o información solicitados, teniendo usted derecho de acceso, >rectificación, cancelación y oposición de sus datos dirigiéndose a >nuestras >oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación >necesaria.