Re: What's a good widget for a small table?
A vertical panel containing several horizontal panels SOUNDS pretty straight forward, indeed. BUT: Do it, look at you dom tree, and see that it's totally ugly! It is: A tabletrtd (vertical panel) containing several tabletrtd../tdtd../td/tr/table (1 horizontal panel). On 7 Okt., 22:45, Jeff Chimene jchim...@gmail.com wrote: On 10/07/2011 01:38 PM, Mike Dee wrote: I have small data tables that I'd like to display. In the widget showcase for DataGrid and CellTable it says they are ideal for large amounts of data. The goal is to display detail info. For example, to display a single record from a database - not a bunch of records from a database. So the columns of the database will be different. Think of something like: Name: John Doe Address: Main St. Phone: 555-1234 I was thinking a PropertyTable would be ideal. It doesn't exist, although they have something similar in SmartGWT, which I'd like to avoid for now. Any ideas would be appreciated. I'd probably create a custom widget based on using ui.xml It might not even be a widget, just an MVP instance. From your description it sounds like a Popup enclosing a VerticalPanel enclosing several HorizontalPanels. Very simple, very straightforward to implement. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: What's a good widget for a small table?
On 10/8/2011 4:23 AM, benneq wrote: A vertical panel containing several horizontal panels SOUNDS pretty straight forward, indeed. BUT: Do it, look at you dom tree, and see that it's totally ugly! It is: A tabletrtd (vertical panel) containing several tabletrtd../tdtd../td/tr/table (1 horizontal panel). Sorry, I'm missing the point here... On 7 Okt., 22:45, Jeff Chimene jchim...@gmail.com wrote: On 10/07/2011 01:38 PM, Mike Dee wrote: I have small data tables that I'd like to display. In the widget showcase for DataGrid and CellTable it says they are ideal for large amounts of data. The goal is to display detail info. For example, to display a single record from a database - not a bunch of records from a database. So the columns of the database will be different. Think of something like: Name: John Doe Address: Main St. Phone: 555-1234 I was thinking a PropertyTable would be ideal. It doesn't exist, although they have something similar in SmartGWT, which I'd like to avoid for now. Any ideas would be appreciated. I'd probably create a custom widget based on using ui.xml It might not even be a widget, just an MVP instance. From your description it sounds like a Popup enclosing a VerticalPanel enclosing several HorizontalPanels. Very simple, very straightforward to implement. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: What's a good widget for a small table?
Well, its creating a table with a table for each row.. to end up with a table structure... If its a statically sized table, you can just write the table structure yourself in UiBinder, and place Widgets/Text in each td. On Sat, Oct 8, 2011 at 2:53 PM, Jeffrey Chimene jchim...@gmail.com wrote: On 10/8/2011 4:23 AM, benneq wrote: A vertical panel containing several horizontal panels SOUNDS pretty straight forward, indeed. BUT: Do it, look at you dom tree, and see that it's totally ugly! It is: A tabletrtd (vertical panel) containing several tabletrtd../tdtd../td/tr/table (1 horizontal panel). Sorry, I'm missing the point here... On 7 Okt., 22:45, Jeff Chimene jchim...@gmail.com wrote: On 10/07/2011 01:38 PM, Mike Dee wrote: I have small data tables that I'd like to display. In the widget showcase for DataGrid and CellTable it says they are ideal for large amounts of data. The goal is to display detail info. For example, to display a single record from a database - not a bunch of records from a database. So the columns of the database will be different. Think of something like: Name: John Doe Address: Main St. Phone: 555-1234 I was thinking a PropertyTable would be ideal. It doesn't exist, although they have something similar in SmartGWT, which I'd like to avoid for now. Any ideas would be appreciated. I'd probably create a custom widget based on using ui.xml It might not even be a widget, just an MVP instance. From your description it sounds like a Popup enclosing a VerticalPanel enclosing several HorizontalPanels. Very simple, very straightforward to implement. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: What's a good widget for a small table?
On 10/8/2011 7:29 AM, Aidan O'Kelly wrote: Well, its creating a table with a table for each row.. to end up with a table structure... If its a statically sized table, you can just write the table structure yourself in UiBinder, and place Widgets/Text in each td. Is that to to reduce DOM complexity, time to implementation, performance? Or some other factor I'm not understanding? On Sat, Oct 8, 2011 at 2:53 PM, Jeffrey Chimene jchim...@gmail.com mailto:jchim...@gmail.com wrote: On 10/8/2011 4:23 AM, benneq wrote: A vertical panel containing several horizontal panels SOUNDS pretty straight forward, indeed. BUT: Do it, look at you dom tree, and see that it's totally ugly! It is: A tabletrtd (vertical panel) containing several tabletrtd../tdtd../td/tr/table (1 horizontal panel). Sorry, I'm missing the point here... On 7 Okt., 22:45, Jeff Chimene jchim...@gmail.com mailto:jchim...@gmail.com wrote: On 10/07/2011 01:38 PM, Mike Dee wrote: I have small data tables that I'd like to display. In the widget showcase for DataGrid and CellTable it says they are ideal for large amounts of data. The goal is to display detail info. For example, to display a single record from a database - not a bunch of records from a database. So the columns of the database will be different. Think of something like: Name: John Doe Address: Main St. Phone: 555-1234 I was thinking a PropertyTable would be ideal. It doesn't exist, although they have something similar in SmartGWT, which I'd like to avoid for now. Any ideas would be appreciated. I'd probably create a custom widget based on using ui.xml It might not even be a widget, just an MVP instance. From your description it sounds like a Popup enclosing a VerticalPanel enclosing several HorizontalPanels. Very simple, very straightforward to implement. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: What's a good widget for a small table?
Wouldn't that be a Grid control? Would a Grid control be a little heavy handed in that it seems to be designed to handle widgets in its cells. A property table - or something like that - seems ideal (if it existed). On Oct 8, 8:30 am, Jeffrey Chimene jchim...@gmail.com wrote: On 10/8/2011 7:29 AM, Aidan O'Kelly wrote: Well, its creating a table with a table for each row.. to end up with a table structure... If its a statically sized table, you can just write the table structure yourself in UiBinder, and place Widgets/Text in each td. Is that to to reduce DOM complexity, time to implementation, performance? Or some other factor I'm not understanding? On Sat, Oct 8, 2011 at 2:53 PM, Jeffrey Chimene jchim...@gmail.com mailto:jchim...@gmail.com wrote: On 10/8/2011 4:23 AM, benneq wrote: A vertical panel containing several horizontal panels SOUNDS pretty straight forward, indeed. BUT: Do it, look at you dom tree, and see that it's totally ugly! It is: A tabletrtd (vertical panel) containing several tabletrtd../tdtd../td/tr/table (1 horizontal panel). Sorry, I'm missing the point here... On 7 Okt., 22:45, Jeff Chimene jchim...@gmail.com mailto:jchim...@gmail.com wrote: On 10/07/2011 01:38 PM, Mike Dee wrote: I have small data tables that I'd like to display. In the widget showcase for DataGrid and CellTable it says they are ideal for large amounts of data. The goal is to display detail info. For example, to display a single record from a database - not a bunch of records from a database. So the columns of the database will be different. Think of something like: Name: John Doe Address: Main St. Phone: 555-1234 I was thinking a PropertyTable would be ideal. It doesn't exist, although they have something similar in SmartGWT, which I'd like to avoid for now. Any ideas would be appreciated. I'd probably create a custom widget based on using ui.xml It might not even be a widget, just an MVP instance. From your description it sounds like a Popup enclosing a VerticalPanel enclosing several HorizontalPanels. Very simple, very straightforward to implement. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: What's a good widget for a small table?
FlexTable would do the job fine. Regards, Strashimir On Oct 7, 11:38 pm, Mike Dee mdichiapp...@gmail.com wrote: I have small data tables that I'd like to display. In the widget showcase for DataGrid and CellTable it says they are ideal for large amounts of data. The goal is to display detail info. For example, to display a single record from a database - not a bunch of records from a database. So the columns of the database will be different. Think of something like: Name: John Doe Address: Main St. Phone: 555-1234 I was thinking a PropertyTable would be ideal. It doesn't exist, although they have something similar in SmartGWT, which I'd like to avoid for now. Any ideas would be appreciated. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: What's a good widget for a small table?
Well Grid uses a html table to work, yes. The point is when working with UiBinder you can use normal HTML markup to make a widget, so you can do: g:HTMLPanel table tr tdName/tdtdg:TextBox ui:field=nameText/td /tr tr tdPhone/tdtdg:TextBox ui:field=phoneText/td /tr /table /g:HTMLPanel Jeff: I guess it reduces DOM complexity, and improves performance (almost certainly negligible in most cases, unless your widget is large and needs to be created many times over) In any case, I'm not saying this approach is better or worse than using Panels, its just the approach I take. The obvious disadvantage is that its a static table, you can't really modify it at runtime easily. If you need a dynamic table, Panels/FlexTable/Grid are more suited. On Sat, Oct 8, 2011 at 4:39 PM, Mike Dee mdichiapp...@gmail.com wrote: Wouldn't that be a Grid control? Would a Grid control be a little heavy handed in that it seems to be designed to handle widgets in its cells. A property table - or something like that - seems ideal (if it existed). On Oct 8, 8:30 am, Jeffrey Chimene jchim...@gmail.com wrote: On 10/8/2011 7:29 AM, Aidan O'Kelly wrote: Well, its creating a table with a table for each row.. to end up with a table structure... If its a statically sized table, you can just write the table structure yourself in UiBinder, and place Widgets/Text in each td. Is that to to reduce DOM complexity, time to implementation, performance? Or some other factor I'm not understanding? On Sat, Oct 8, 2011 at 2:53 PM, Jeffrey Chimene jchim...@gmail.com mailto:jchim...@gmail.com wrote: On 10/8/2011 4:23 AM, benneq wrote: A vertical panel containing several horizontal panels SOUNDS pretty straight forward, indeed. BUT: Do it, look at you dom tree, and see that it's totally ugly! It is: A tabletrtd (vertical panel) containing several tabletrtd../tdtd../td/tr/table (1 horizontal panel). Sorry, I'm missing the point here... On 7 Okt., 22:45, Jeff Chimene jchim...@gmail.com mailto:jchim...@gmail.com wrote: On 10/07/2011 01:38 PM, Mike Dee wrote: I have small data tables that I'd like to display. In the widget showcase for DataGrid and CellTable it says they are ideal for large amounts of data. The goal is to display detail info. For example, to display a single record from a database - not a bunch of records from a database. So the columns of the database will be different. Think of something like: Name: John Doe Address: Main St. Phone: 555-1234 I was thinking a PropertyTable would be ideal. It doesn't exist, although they have something similar in SmartGWT, which I'd like to avoid for now. Any ideas would be appreciated. I'd probably create a custom widget based on using ui.xml It might not even be a widget, just an MVP instance. From your description it sounds like a Popup enclosing a VerticalPanel enclosing several HorizontalPanels. Very simple, very straightforward to implement. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: What's a good widget for a small table?
I would use CellTable even if it says it is ideal for large amount of data. The ideal sentence only says that CellTable has no performance issues with large amount of data because it supports paging (if you need it) and renders only visible cells. If you are not familiar with cell widgets it can take some time, but it is worth. On 8. Okt, 18:21 h., Aidan O'Kelly aida...@gmail.com wrote: Well Grid uses a html table to work, yes. The point is when working with UiBinder you can use normal HTML markup to make a widget, so you can do: g:HTMLPanel table tr tdName/tdtdg:TextBox ui:field=nameText/td /tr tr tdPhone/tdtdg:TextBox ui:field=phoneText/td /tr /table /g:HTMLPanel Jeff: I guess it reduces DOM complexity, and improves performance (almost certainly negligible in most cases, unless your widget is large and needs to be created many times over) In any case, I'm not saying this approach is better or worse than using Panels, its just the approach I take. The obvious disadvantage is that its a static table, you can't really modify it at runtime easily. If you need a dynamic table, Panels/FlexTable/Grid are more suited. On Sat, Oct 8, 2011 at 4:39 PM, Mike Dee mdichiapp...@gmail.com wrote: Wouldn't that be a Grid control? Would a Grid control be a little heavy handed in that it seems to be designed to handle widgets in its cells. A property table - or something like that - seems ideal (if it existed). On Oct 8, 8:30 am, Jeffrey Chimene jchim...@gmail.com wrote: On 10/8/2011 7:29 AM, Aidan O'Kelly wrote: Well, its creating a table with a table for each row.. to end up with a table structure... If its a statically sized table, you can just write the table structure yourself in UiBinder, and place Widgets/Text in each td. Is that to to reduce DOM complexity, time to implementation, performance? Or some other factor I'm not understanding? On Sat, Oct 8, 2011 at 2:53 PM, Jeffrey Chimene jchim...@gmail.com mailto:jchim...@gmail.com wrote: On 10/8/2011 4:23 AM, benneq wrote: A vertical panel containing several horizontal panels SOUNDS pretty straight forward, indeed. BUT: Do it, look at you dom tree, and see that it's totally ugly! It is: A tabletrtd (vertical panel) containing several tabletrtd../tdtd../td/tr/table (1 horizontal panel). Sorry, I'm missing the point here... On 7 Okt., 22:45, Jeff Chimene jchim...@gmail.com mailto:jchim...@gmail.com wrote: On 10/07/2011 01:38 PM, Mike Dee wrote: I have small data tables that I'd like to display. In the widget showcase for DataGrid and CellTable it says they are ideal for large amounts of data. The goal is to display detail info. For example, to display a single record from a database - not a bunch of records from a database. So the columns of the database will be different. Think of something like: Name: John Doe Address: Main St. Phone: 555-1234 I was thinking a PropertyTable would be ideal. It doesn't exist, although they have something similar in SmartGWT, which I'd like to avoid for now. Any ideas would be appreciated. I'd probably create a custom widget based on using ui.xml It might not even be a widget, just an MVP instance. From your description it sounds like a Popup enclosing a VerticalPanel enclosing several HorizontalPanels. Very simple, very straightforward to implement. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: What's a good widget for a small table?
On 10/07/2011 01:38 PM, Mike Dee wrote: I have small data tables that I'd like to display. In the widget showcase for DataGrid and CellTable it says they are ideal for large amounts of data. The goal is to display detail info. For example, to display a single record from a database - not a bunch of records from a database. So the columns of the database will be different. Think of something like: Name: John Doe Address: Main St. Phone: 555-1234 I was thinking a PropertyTable would be ideal. It doesn't exist, although they have something similar in SmartGWT, which I'd like to avoid for now. Any ideas would be appreciated. I'd probably create a custom widget based on using ui.xml It might not even be a widget, just an MVP instance. From your description it sounds like a Popup enclosing a VerticalPanel enclosing several HorizontalPanels. Very simple, very straightforward to implement. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.