Re: table widget wanted

2011-10-25 Thread Magnus
Hi, thanks! This works! Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/GDE0pAYAxm8J. To post to this group, send email to

table widget wanted

2011-10-24 Thread Magnus
Hi, I just played around with CellTable, and I found out that it uses paging by default. What, if I do not want paging, so that all data is displayed at once ( with scroll bars)? Is CellTable the wrong widget or can it be configured not to use paging? Thanks Magnus -- You received this

Re: table widget wanted

2011-10-24 Thread Thomas Broyer
It's as easy as setPageStart(0); setPageSize(totalNumberOfItems); (where totalNumberOfItems is actually the same value you'd pass to setRowCount). E.g. given a List of items to be displayed: table.setPageStart(0); table.setPageSize(list.size()); table.setRowData(list); // which is equivalent

Re: How to remove a row from Flex Table

2011-10-12 Thread Sudhakar Abraham
First count the number of rows in FlexTable using getRowCount() method. Remove specific row from flex table using removeRow( int row). Ex: int count = myFlexTable.getRowCount(); for (int i = 0; i count; i++) { myFlexTable.removeRow(i); } S. Abraham www.DataStoreGwt.com Persist

Re: How to remove a row from Flex Table

2011-10-12 Thread Paul Robinson
On 12/10/11 13:31, Sudhakar Abraham wrote: First count the number of rows in FlexTable using getRowCount() method. Remove specific row from flex table using removeRow( int row). Ex: int count = myFlexTable.getRowCount(); for (int i = 0; i count; i++) { myFlexTable.removeRow(i

Use header mouse events to resize table columns

2011-10-12 Thread P.G.Taboada
Hi, I am working on a table header that captures mouse events in order to resize the table columns. It is woking property, as long as I do not move the mouse to fast and don't leave the header area. So I took a look at the SplitLayoutPanel to see how this has been solved

Re: How to align header/footer text in cell table

2011-10-11 Thread Thomas Trebbien Pedersen
Hi, Can someone please help. On 7 Okt., 10:28, Thomas Trebbien Pedersen thomas.trebbien.peder...@gmail.com wrote: Hi, How do I set the horizontal alignment for headers/footers in a CellTable? I want to right align the text like I can do with a Column:

How to change default padding for cell/td in cell table

2011-10-11 Thread Thomas Trebbien Pedersen
Hi, Can anyone help me how to change the default padding for cell/td in cell table. I have found out that GWT by default adds this css class: .GALD-WOHC { padding-bottom: 2px; padding-left: 15px; padding-right: 15px; overflow: hidden; padding-top: 2px

Re: Two widget in a single table cell

2011-10-11 Thread Konstantin Zolotarev
Try CompositeCell http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/cell/client/CompositeCell.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

How to remove a row from Flex Table

2011-10-11 Thread vikky
Hi , I am using a Flex Table in which i want to Add and Remove the row, Add functionality working properly but in case of Remove, when i tried to remove more then one row from the table it thrown an exception IndexOutOfBound Please do the needful. Regards, Vikas verma -- You received

Re: How to change default padding for cell/td in cell table

2011-10-11 Thread Thomas Trebbien Pedersen
, Thomas Trebbien Pedersen thomas.trebbien.peder...@gmail.com wrote: Hi, Can anyone help me how to change the default padding for cell/td in cell table. I have found out that GWT by default adds this css class: .GALD-WOHC {         padding-bottom: 2px;         padding-left: 15px

Re: How to change default padding for cell/td in cell table

2011-10-11 Thread Jeff Larsen
yea, you extend the CellTable.BasicResources class, override @Override @Source(BasicStyle.DEFAULT_CSS) BasicStyle cellTableStyle(); and point to your own css file. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

Re: How to remove a row from Flex Table

2011-10-11 Thread misko237
Hi, just one thing to check. Row counting starts with 0. Maybe you're trying to remove last row with wrong index (+1 error). Or trying to remove row from empty table. On Oct 11, 12:01 pm, vikky vikky2...@gmail.com wrote: Hi ,    I am using a Flex Table in which i want to Add and Remove

Two widget in a single table cell

2011-10-10 Thread Sarjith Pullithodi
Hi all, I have a FlexTable and I want to load the data dynamically. while loading, I want to load two widgets into a particular cell. (two text boxes, more precisely). Any idea how can i achieve this?. (final output should look like the output of below html code. but the two textboxes should

Re: What's a good widget for a small table?

2011-10-08 Thread benneq
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

Re: What's a good widget for a small table?

2011-10-08 Thread Jeffrey Chimene
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

Re: What's a good widget for a small table?

2011-10-08 Thread Aidan O'Kelly
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

Re: What's a good widget for a small table?

2011-10-08 Thread Jeffrey Chimene
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

Re: What's a good widget for a small table?

2011-10-08 Thread Mike Dee
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

Re: What's a good widget for a small table?

2011-10-08 Thread Strashimir
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

Re: What's a good widget for a small table?

2011-10-08 Thread Aidan O'Kelly
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

Re: What's a good widget for a small table?

2011-10-08 Thread Piro
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

How to align header/footer text in cell table

2011-10-07 Thread Thomas Trebbien Pedersen
Hi, How do I set the horizontal alignment for headers/footers in a CellTable? I want to right align the text like I can do with a Column: someColumn.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_RIGHT); Isn't something similar possible for headers/footers - can anyone please help.

What's a good widget for a small table?

2011-10-07 Thread Mike Dee
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

Re: What's a good widget for a small table?

2011-10-07 Thread Jeff Chimene
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

CEll Table Sorting

2011-10-04 Thread gangurg gangurg
I use Async Data provider for my cell Table . The pagination part seems to be work fine . But somehow I am not able to figure out how to get Column sorting working . Is there any working example for this . I tried to follow the Showcase method , but it does not seem to work . Can anybody provide

Re: TextCell in Cell Table

2011-09-26 Thread Sudhakar Abraham
object) { return object.getName(); } //add the column to your celltable cellTable.addColumn(new MyTextCellColumn (),Col Name) ; S. Abraham www.DataStoreGwt.com Persist objects directly in GAE On Sep 24, 9:20 pm, gangurg gangurg gang...@gmail.com wrote: Can I add Text Cell in Cell Table

TextCell in Cell Table

2011-09-24 Thread gangurg gangurg
Can I add Text Cell in Cell Table . I extended TextCellbut later realzied cant add cellTable.addColumn(MyTextCell,Col Name) public class MyTextCell extends TextCell { public MyTextCell () { super(); } public void render(Context context, SafeHtml value, SafeHtmlBuilder sb) { if (value != null

Difference between DataGrid and Cell Table

2011-09-23 Thread gangurg gangurg
Guys whats the difference between DataGrid and Cell Table , other than Data Grid has fixed header and footer and just the content scrolls . I have this problem where I have almost given up on resizing Cell Table if window resizes . The problem here is I am not able to get cell Table height.I

Re: GWT Cell Table Re sizing

2011-09-22 Thread -sowdri-
Do not try to resize the celltable, resize the div (Flowpanel or similar) that is holding the celltable. By default say I raw a cell table with 25 rows and when the the window is shrink ed in size to show 20 rows , then scroll bar should automatically appear on the table . The browser must

Re: Cell Table Styling

2011-09-21 Thread Sudhakar Abraham
}) CellTable.Style cellTableStyle(); } CellTable table = new CellTableString(15, GWT.TableResources create(TableResources.class)); //CellTableStyle.css .cellTableCell { height: 35px; cursor: pointer; padding: 2px 25px; } .cellTableEvenRow { background: #fffaf0; font-size:12px

Re: Cell Table Styling

2011-09-21 Thread gangurg gangurg
Excellent . That worked fine , How do i change the style based on the value . I want to show red color for cells in certain column of the cell Table , if value of that cell is less than 100 . On Wed, Sep 21, 2011 at 12:06 AM, Sudhakar Abraham s.abra...@datastoregwt.com wrote: To change

Re: Cell Table Styling

2011-09-21 Thread Thomas Broyer
On Wednesday, September 21, 2011 4:04:57 AM UTC+2, GWT Kid wrote: I am trying to come up with styling of Cell Table . However not able to figure out how . Trying to achieve 1. Should be able to Style any given row of a Cell table Use CellTable#setRowStyles 2, Any Column

GWT Cell Table Re sizing

2011-09-21 Thread gangurg gangurg
1.How do i re size the Cell Table if the window re sizes . By default say I raw a cell table with 25 rows and when the the window is shrink ed in size to show 20 rows , then scroll bar should automatically appear on the table . 2. Is it possible to resize the Cell table column after

Cell Table Styling

2011-09-20 Thread gangurg gangurg
I am trying to come up with styling of Cell Table . However not able to figure out how . Trying to achieve 1. Should be able to Style any given row of a Cell table 2, Any Column of a Cell table 3. dynamically style any particular cell of a cell table . I tried to do the style sheet injection

Paging table in GWT 2.4

2011-09-13 Thread Khvu Nguyen
Is the incubator paging table available in GWT latest release 2.4? Khv -- 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

Re: Paging table in GWT 2.4

2011-09-13 Thread Aidan O'Kelly
CellTable does paging, check the showcase which has nice clean examples: http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable On Tue, Sep 13, 2011 at 10:15 PM, Khvu Nguyen khvngu...@gmail.com wrote: Is the incubator paging table available in GWT latest release 2.4? Khv -- You

Cell Table without word wrap and header fit to coulmns

2011-08-25 Thread Foermchen82
the header, and the header can warp the title, the header should fit to the column. - It should not be relevant, what space is available for the table. The coulmn header should always have only this size, that is necessary for the data in the columns. Kind regards, -- You received this message

Re: How to hide column in Cell table GWT?

2011-08-19 Thread BM
How to get the selected row and hide ID column: So let's say you have your object which is a DTO (YourObjectDTO) which has other properties FirstName, LastName including id column. But the difference here is you don't show the id column but create rest other columns in the cell table. Something

How to hide column in Cell table GWT?

2011-08-18 Thread Sanjay Jain India
I am using Cell Table in GWT.In that cell table I am adding these columns. TextColumnDocument idColumn = new TextColumnDocument() { @Override public String getValue(Document object) { return Long.toString(object.getId()); } }; TextColumnDocument

Re: How to hide column in Cell table GWT?

2011-08-18 Thread -sowdri-
Hi, Use SingleSelectionModel or MultipleSelectionModel depending upon your requirement. And refer http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html#selection for more info on adding handlers for

Re: How to hide column in Cell table GWT?

2011-08-18 Thread Sanjay Jain India
Thanks sowdri for reply On Aug 19, 9:59 am, -sowdri- sow...@gmail.com wrote: Hi, Use SingleSelectionModel or MultipleSelectionModel depending uponyour requirement. And referhttp://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.ht... for more info on adding handlers for

Re: Getting Height of cell table

2011-08-17 Thread BST
public void onValueChange( ValueChangeEventMyDTO event) { CellTableMyDTO table = (CellTableMyDTO) event.getSource(); String height = 231 + table.getOffsetHeight() + px; Window.alert(Value Change

Re: Getting Height of cell table

2011-08-16 Thread BST
Any Solutions for this problem? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/XlmKdD5ydPIJ. To post to this group, send email to

Cell Table, Remote Paging Issues

2011-07-30 Thread BST
I am trying out Remote Paging with a Cell Table Implementation of Abstract Pager . For now I am limiting the CellTable to 30 rows for data. My Pager takes care of fetching the next batch of 30 rows from RemoteService, when the next or previous button is clicked. I get 30 rows of data from

Re: Cell Table, Remote Paging Issues

2011-07-30 Thread Andrei
to overwrite lastPage(), firstPage(), nextPage() and previousPage() with the behavior that I wanted. On Jul 30, 3:29 am, BST babusri...@gmail.com wrote: I am trying out Remote Paging with a Cell Table Implementation of Abstract Pager . For now I am limiting the CellTable to 30 rows for data. My Pager

Re: Cell Table, Remote Paging Issues

2011-07-30 Thread BST
I didn't think of overriding last Page first Page. Thanks for the pointer.. I shall look into the link. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Cell Table Data Handling Performance

2011-07-26 Thread John LaBanca
Do you mean CellTable's cache or the data store of your data? CellTable's cache is in a List in HasDataPresenter, which is a package protected presenter implementation that backs all of the cell widgets. Your data can exist anywhere you want, and you can use ListDataProvider or AsyncDataProvider

Cell Table Data Handling Performance

2011-07-25 Thread BST
Hi, I have successfully managed to use a Cell table an abstract pager to fetch the new set of data from an RPC and display them on the cell table. Many thanks to the developer discussions and Developer Guide. But I do have a few concerns, as I plan to use it for large data sets, maybe like 10k

Re: Cell Table Data Handling Performance

2011-07-25 Thread John LaBanca
On Mon, Jul 25, 2011 at 6:49 AM, BST babusri...@gmail.com wrote: Hi, I have successfully managed to use a Cell table an abstract pager to fetch the new set of data from an RPC and display them on the cell table. Many thanks to the developer discussions and Developer Guide. But I do have

Re: Cell Table Data Handling Performance

2011-07-25 Thread BST
table. So only after the user has paged thru the 3 pages I go for the next batch of 300. Also No changes or search within the table, it is view only. The table is a result of a server call for search. So I guess so far no worries :-) CellTable caches the row values within the current page so

Re: Cell Table Data Handling Performance

2011-07-25 Thread John LaBanca
I am getting another 300 rows thru an RPC. It is a plain view only table. So only after the user has paged thru the 3 pages I go for the next batch of 300. Also No changes or search within the table, it is view only. The table is a result of a server call for search. So I guess so far

Re: Cell Table Data Handling Performance

2011-07-25 Thread BST
Where does the datastore actually exist? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/iy93M8fa5hwJ. To post to this group, send email to

Re: Table

2011-07-21 Thread Ashwin Desikan
program on it. I don't know much HTML, CSS, and am still learning Java (which I've been learning just for this project). I'm attempting to change some things in the MyWebApp project that uses asynch. I've been able to modify the code, html, and css to move the title, table, and popup box

Table

2011-07-20 Thread Robert Lockwood
for this project). I'm attempting to change some things in the MyWebApp project that uses asynch. I've been able to modify the code, html, and css to move the title, table, and popup box to the left side and have attempted to position them 10px from the left using css margin. It doesnt' work for the table

Re: Need Scroll bars in ScrollPanel/cell table

2011-06-10 Thread redjhawk
, etc On Jun 9, 3:14 pm, Darpan Kamboj kamboj.dar...@gmail.com wrote: I need to scroll bars to cell table but as I gone through some the posts this feature is not available currently. could anyone help me how to use ScrollPanel with cell table and how to set the dimentions of the panel to see

Re: Need Scroll bars in ScrollPanel/cell table

2011-06-10 Thread redjhawk
I forgot to tell you. Scroll bar will be only showed if the size of the widget inside the scroll panel is bigger than the scroll panel. Hope I explain it ok:) On Jun 10, 9:28 am, redjhawk jorges...@gmail.com wrote: Summarizing, it will be similar to:

Need Scroll bars in ScrollPanel/cell table

2011-06-09 Thread Darpan Kamboj
I need to scroll bars to cell table but as I gone through some the posts this feature is not available currently. could anyone help me how to use ScrollPanel with cell table and how to set the dimentions of the panel to see the scrool bar. As I want to show the 5000 rows in a cell table. Thanks

Re: Need Scroll bars in ScrollPanel/cell table

2011-06-09 Thread John LaBanca
GWT 2.4 will introduce DataGrid, which is a CellTable with a scrollable content area. If you build GWT from trunk, you can try it out. Thanks, John LaBanca jlaba...@google.com On Thu, Jun 9, 2011 at 9:14 AM, Darpan Kamboj kamboj.dar...@gmail.comwrote: I need to scroll bars to cell table

Using flex table with uibinder

2011-05-30 Thread Juhi
Hi, I have no documentation and no idea how to use flex table in uibinder. Can anyone help or post an example of flex table using uibinder. Thanks, Juhi. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

[gwt-contrib] Detaching the table section in CellTable before setting the innerHTML to replace the rows. This ... (issue1443805)

2011-05-24 Thread jlabanca
Reviewers: rchandia, Description: Detaching the table section in CellTable before setting the innerHTML to replace the rows. This is a well known performance enhancement that CellTable isn't taking advantage of. Please review this at http://gwt-code-reviews.appspot.com/1443805/ Affected files

[gwt-contrib] Re: Detaching the table section in CellTable before setting the innerHTML to replace the rows. This ... (issue1443805)

2011-05-24 Thread rchandia
LGTM. With a question. http://gwt-code-reviews.appspot.com/1443805/diff/1/user/src/com/google/gwt/user/cellview/client/CellTable.java File user/src/com/google/gwt/user/cellview/client/CellTable.java (right):

[gwt-contrib] Re: Detaching the table section in CellTable before setting the innerHTML to replace the rows. This ... (issue1443805)

2011-05-24 Thread jlabanca
http://gwt-code-reviews.appspot.com/1443805/diff/1/user/src/com/google/gwt/user/cellview/client/CellTable.java File user/src/com/google/gwt/user/cellview/client/CellTable.java (right):

[gwt-contrib] Re: Detaching the table section in CellTable before setting the innerHTML to replace the rows. This ... (issue1443805)

2011-05-24 Thread jlabanca
http://gwt-code-reviews.appspot.com/1443805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Detaching the table section in CellTable before setting the innerHTML to replace the rows. This ... (issue1443805)

2011-05-24 Thread jlabanca
In Firefox 3.6 and older, detaching a tbody from a table causes Firefox to convert all of the TD elements to divs. Firefox 4.0 doesn't have this problem and works as expected. I updated the patch to skip the detach in Firefox 3.6-. http://gwt-code-reviews.appspot.com/1443805/ -- http

Re: [gwt-contrib] Re: Detaching the table section in CellTable before setting the innerHTML to replace the rows. This ... (issue1443805)

2011-05-24 Thread Ray Ryan
Rather than detaching, could you render the new contents in a hidden div and then replace the tbody? IE is a little tricky about doing this kind of thing with table elements, but HTMLPanel.HTMLPanel(String, String) shows the workaround for that (just render inside a div and all is forgiven

[gwt-contrib] [google-web-toolkit] r10218 committed - Detaching the table section in CellTable before setting the innerHTML ...

2011-05-24 Thread codesite-noreply
Revision: 10218 Author: gwt.mirror...@gmail.com Date: Tue May 24 13:14:09 2011 Log: Detaching the table section in CellTable before setting the innerHTML to replace the rows. This is a well known performance enhancement that CellTable isn't taking advantage of. Review at http

[gwt-contrib] Re: Detaching the table section in CellTable before setting the innerHTML to replace the rows. This ... (issue1443805)

2011-05-24 Thread jlabanca
make much of a difference because we still end up with a detach, and attach, and an innerHTML call. IE is a little tricky about doing this kind of thing with table elements, but HTMLPanel.HTMLPanel(String, String) shows the workaround for that (just render inside a div and all is forgiven

Re: [gwt-contrib] Re: Detaching the table section in CellTable before setting the innerHTML to replace the rows. This ... (issue1443805)

2011-05-24 Thread Ray Ryan
You're working too hard in IE. You don't need to create the entire table, you can create fragments so long as you're doing it inside a div On Tue, May 24, 2011 at 1:21 PM, jlaba...@google.com wrote: committed as r10218 before I read Ray's comment. On 2011/05/24 20:06:24, rjrjr wrote

Re: cell table with empty rows

2011-05-19 Thread Patrick Tucker
Sounds like someone should make a feature request. I'll vote it... On May 5, 12:53 am, Dilli arasu.sun71...@gmail.com wrote: Hi, i have one application usingcelltable, i just want to make a message whenever the cell table isempty, that should show the message *** in center boy of the cell

Re: cell table with empty rows

2011-05-19 Thread John LaBanca
, Patrick Tucker patrick.tuc...@macefusion.com wrote: Sounds like someone should make a feature request. I'll vote it... On May 5, 12:53 am, Dilli arasu.sun71...@gmail.com wrote: Hi, i have one application usingcelltable, i just want to make a message whenever the cell table isempty

Re: redrawing table after sorting the column

2011-05-17 Thread Juan Pablo Gardella
the table be redraw after each sort event occurrence? part of the main class : CellTable table = new MyCellTableCreator(result).getCellTable(); AsyncDataProviderCaseDTO provider = new AsyncDataProviderCaseDTO() { @Override protected

Re: cell table with empty rows

2011-05-16 Thread 3xM
Have you found any solution for this empty table message problem? -- 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

redrawing table after sorting the column

2011-05-16 Thread Rafal Janik
Hi All, I quite new in GWT and I'm trying to do really simple Pager with CellTab wit sortable column. What should I do to make the table be redraw after each sort event occurrence? part of the main class : CellTable table = new MyCellTableCreator(result).getCellTable

Scroll table border design

2011-05-13 Thread azuniga
I have a tab panel that inside it has a list of clickable labels on the left side. When the label is clicked, I will create a scroll panel to the right of the labels. Here is a screenshot of it on dropbox. http://www.dropbox.com/gallery/2374591/1/Screen%20Shot?h=8204f3. Is there any way for me to

Chrome stripping off table elements in HTML widget

2011-05-11 Thread brendan
Hi, I have a com.google.gwt.user.client.ui.HTML element on which I call the setHTML method and pass in a string which is a html table. Although this works on FF, it doesn't on Chrome. Chrome removes all the table-related tags and leaves me with just the cell contents. The code I'm using

Re: Chrome stripping off table elements in HTML widget

2011-05-11 Thread Thomas Broyer
The HTML widget simply uses native innerHTML. Make sure your table markup is complete (table, tr, td). -- 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

Cell Table Vs Cell Sampler

2011-05-06 Thread riyaz ahmed
Hi Can anyone explain or tell me the source of the difference between cell table and cell sampler Thanks in advance -- Riyaz 9916220381 -- 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

cell table with empty rows

2011-05-05 Thread Dilli
Hi, i have one application using celltable, i just want to make a message whenever the cell table is empty, that should show the message *** in center boy of the cell table, and i want to fix height of the cell table too, like 3-4 empty rows, anyone can help me?. -- You received this message

Re: How to update CellTable's Header Cell based on action in data table

2011-05-02 Thread Jason
Darn it! I think I was just staring at my code for too long last Friday. Thanks Thomas! I was successfully able to update my header cell's value in the onSelectionChange method of my SelectionHandler and call redrawHeaders() which successfully re-renders the header cell. I'm not sure how I

How to update CellTable's Header Cell based on action in data table

2011-04-29 Thread Jason
was successfully able to create a new TriStateCheckboxCell that extends AbstractCell and it is wrapped by a HeaderEnum. Using this class I render either an unchecked input (checkbox) when no rows in the main table are selected, a checked input when all the rows in the main table are selected, or an img

Re: How to update CellTable's Header Cell based on action in data table

2011-04-29 Thread Thomas Broyer
You might be looking for the CellTable#redrawHeaders()http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/cellview/client/CellTable.html#redrawHeaders()method. In your SelectionHandler, you would update the internal value of your Header (whatever is returned by its

Cell table styling

2011-04-21 Thread Nisha
Hi , I am working on a cell table and by default it has some styling which I dont want. I want it to appear like the componets in gwt -ext. I mean the look and feel should be like gwt ext. Please help.. Thanks in advance. -- You received this message because you are subscribed to the Google

CellTable an AsyncDataProvider: no table content

2011-04-19 Thread Patrick Cailly
I'm trying to figure out how to use AsyncDataProvider with CellTable so I've this test code that has a Simple pager that is initialized and working ( display full range and current range and you can use () () () () ) the table is shows the headers but no dat what's wrong

Not able to access data of selected [row , col] visualization table

2011-04-19 Thread andy
i am able to access the selected row but i am able to access the column. i think it always select the row, not the column. Anybody please to select the column as well as the data of selected row and col. I want to retrieve the selected data How should i do it? please help me... -- You

Table

2011-04-13 Thread Shil
Hi All, I am fairly new to GWT and I am tryint to find out what is the the componet to build a dynamic table. Please help!!! -- 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

Re: Table

2011-04-13 Thread David Chandler
See http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html /dmc On Wed, Apr 13, 2011 at 10:38 AM, Shil shilp...@gmail.com wrote: Hi All, I am fairly new to GWT and I am tryint to find out what is the the componet to build a dynamic table. Please help!!! -- You received

How to show a HTML table

2011-04-12 Thread Ahrom
Good Morning. I need show some data that i get from a data base and show it in a HTML table in some place that i defined, how can i do it? Thanks -- 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

How show data from database in a html table

2011-04-12 Thread Ahrom
Hi, That are that i need, how i show some data that i get from a database in a simple html table? and how i do tu put it in some place that i defined? Thanks PD: Excuse my English. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: How to show a HTML table

2011-04-12 Thread Ahrom
Thanks for your question. if i get: ResultSet rs = stmt.executeQuery( SELECT * FROM MyTable ); i can set: flexTable.setWidget(0,0, rs) ?? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: How to show a HTML table

2011-04-11 Thread David E.
I would say FlexTable would be the easiest. FlexTable flexTable = new FlexTable(); flexTable.setWidget(0,0, Widget) and so on.. this will create an HTML Table for you where Widget can be anything you like, int, long, String, Image, etc.. -- You received this message because you

Re: How to show a HTML table

2011-04-11 Thread Jeff Larsen
ResultSet isn't a gwt compatible class, so no that won't work and probably never will. Take a look at http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable To get an idea of how to build a celltable. You also might want to start out here:

Re: How to show a HTML table

2011-04-11 Thread David E.
You would have to iterate through the ResultSet int rowCnt = 0; while(rs.next) { int myIntValue = rs.getInt(1); String myStringValue = rs.getString(2); // and so on... for each of the values you want in the table. // then you can add the values to the table. int colCnt = 0; flexTable

[gwt-contrib] Re: Adding table rendering tests to micro benchmarks. Table rendering tests are multiple orders of m... (issue1394802)

2011-04-06 Thread jlabanca
committed as r9925 http://gwt-code-reviews.appspot.com/1394802/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: How to restore previous value of EditTextCell in Cell Table

2011-04-05 Thread Derek
I only know a bad way to do this, so I'd like someone else to show me a better way to do this. As with most GWT Cells, as soon as I want to do something different, I have to create my own. So I suggest you look up the code for EditTextCell, copy and paste it into a new MyEditTextCell and then

How to restore previous value of EditTextCell in Cell Table

2011-04-04 Thread Ankur
Hello, I am using CellTable to retrive data from server. I have a EditTextCell. When I try to validate EditTextCell I cannot restore to my previous data. I tried to use cellTable.redraw(). Also I tried using EditTextCell et.SetViewData(Key,ViewData). I am not able to set view data for this

[gwt-contrib] [google-web-toolkit] r9925 committed - Adding table rendering tests to micro benchmarks. Table rendering test...

2011-04-01 Thread codesite-noreply
Revision: 9925 Author: jlaba...@google.com Date: Fri Apr 1 04:44:18 2011 Log: Adding table rendering tests to micro benchmarks. Table rendering tests are multiple orders of magnitude slower than the existing basic tests, so I seperated them into a seperate mirco benchmark. I

table validation

2011-03-31 Thread Issam
Hello, can anyone tell me please what do template stand for in the google web toolkit tutorial demo example (table validation) :example code source if (template == null) { template = GWT.create(Template.class); } thanks -- You received this message because you are subscribed

Re: table validation

2011-03-31 Thread Y2i
It's a tag interface that facilitates compile-time binding of HTML templates http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/safehtml/client/SafeHtmlTemplates.html http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/safehtml/client/SafeHtmlTemplates.html

[gwt-contrib] Re: Adding table rendering tests to micro benchmarks. Table rendering tests are multiple orders of m... (issue1394802)

2011-03-31 Thread jlabanca
ping http://gwt-code-reviews.appspot.com/1394802/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

<    1   2   3   4   5   6   7   >