Re: Different colspan
Hi jens, Thanks. I tried this "FlexTable.getFlexCellFormatter().setColSpan(0,0,50). But it is formatting the first row by taking the maximum colwidth of flex table + 50. Any suggestions on this? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Different colspan
Hi all, Is there any way to have different colspan for each row in grid/flex table? Please give some points on this. Thanks. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Display with FlexTable
Any ideas how to do this? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: SuggestBox in a CellTable
Hi Craig, I'm trying to place the SuggestBox widget inside CellTable. Created the custom class "SuggestBoxTextInputCell" which extends the TextInputCell. And changed the browserEvent as following: *public* *void* onBrowserEvent(Context context, Element parent, String value , NativeEvent event, ValueUpdater valueUpdater) { *super*.onBrowserEvent(context, parent, value, event, valueUpdater); // Ignore events that don't target the input. InputElement input = getInputElement(parent); String eventType = event.getType(); *if* (BrowserEvents.*FOCUS*.equals(eventType)) { TextBox textBox = *new* MyTextBox(input); suggestBox = *new* MySuggestBox(suggestBox.getSuggestOracle(), textBox); suggestBox.onAttach(); } Element *target* = event.getEventTarget().cast(); } But I want to pass my own suggestionText. Hence the created a constructor: *public* SuggestBoxTextInputCell(MultiWordSuggestOracle suggestions) { *this*(suggestions, *new* TextBox()); } *public* SuggestBoxTextInputCell(MultiWordSuggestOracle suggestions, ValueBoxBase box) { //this(suggestions, box); } After this I'm stuck. And want to call SuggestBoxTextInputCell(Suggestions) in CellTable. On Tuesday, April 16, 2019 at 6:06:10 AM UTC+5:30, Craig Mitchell wrote: > It would help knowing what the problem is, as we don't know what your > custom SuggestBox is. > > Maybe look into > http://samples.gwtproject.org/samples/Showcase/Showcase.html#!CwCustomDataGrid > and > look how EditTextCell works, and then make a EditSuggestBox. > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Display with FlexTable
Hi All, I have a Component table with following columns, I have a Details table with following columns So I have a List and List. I'm using Flex table to display the contents: I want to display the information in the following format. for all the component . Please help. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: How to get the SuggestBox value
Thankyou so much!! It worked :) But was not able to get the value using getValue(). Alternative way worked. On Saturday, April 13, 2019 at 3:35:30 AM UTC+5:30, Rogelio Flores wrote: > Yes, or a full solution that I just tested it works: > > public void onModuleLoad() > { > > MultiWordSuggestOracle oracle = new MultiWordSuggestOracle(); > String[] words = {"Alpha", "Apple", "Anaconda", "Beta", "Beautiful", > "Best", "Better"}; > for (String word: words) > { > oracle.add(word); > } > > SuggestBox suggestBox = new SuggestBox(oracle); > suggestBox.setSize("300px", "40px"); > > > suggestBox.addSelectionHandler((SelectionEvent > suggestion) -> > { > GWT.log("SuggestBox Value: " + suggestBox.getValue()); > > // You can also get the value this way from the event: > GWT.log("Selected Value: " + > suggestion.getSelectedItem().getReplacementString()); > }); > > DockLayoutPanel p = new DockLayoutPanel(Style.Unit.EM); > p.add(suggestBox); > > RootLayoutPanel rp = RootLayoutPanel.get(); > rp.add(p); > } > > > > On Friday, April 12, 2019 at 3:42:09 PM UTC-6, Filipe Sousa wrote: >> >> suggestionBox.getValue()? >> >> On Thursday, April 11, 2019 at 12:02:57 PM UTC+1, Nanditha Nandu wrote: >>> >>> final SuggestBox suggestionBox = new SuggestBox(suggestions); >>> >>> where suggestions is the custom suggest words passed using >>> MultiWordSuggestOracle >>> >>> Im trying to get the value selected from the suggestions in the >>> SuggestBox using below line: >>> >>> String text = suggestionBox.getTextBox().getValue(); >>> >>> But the value of text is " " >>> >>> Please help.Thanks. >>> >> -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: SuggestBox in a CellTable
Any one has any solution on this? Please help. Thanks. On Wednesday, April 10, 2019 at 10:07:18 PM UTC+5:30, Nanditha Nandu wrote: > How to call this custom SuggestBox.. In the cellTable with passing default > suggestions. > > Please help. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: How to get the SuggestBox value
Did anyone have the solution to this ? On Thursday, April 11, 2019 at 4:32:57 PM UTC+5:30, Nanditha Nandu wrote: > final SuggestBox suggestionBox = new SuggestBox(suggestions); > > where suggestions is the custom suggest words passed using > MultiWordSuggestOracle > > Im trying to get the value selected from the suggestions in the SuggestBox > using below line: > > String text = suggestionBox.getTextBox().getValue(); > > But the value of text is " " > > Please help.Thanks. > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
initialize the object using flex Table contents
Hi, Im new to GWT I have a fields in Custom class as, getName(), setName, getCity(), setCity() etc. Im using Flex table to read the values from the user: FlexTable t = new FlexTable(); t.setText(0, 0, "Name"); t.setText(0, 1, "City"); t.setWidget(1, 0, new TextBox()); t.setWidget(1, 1, new TextBox()); And using flex table addrow() , so that mutiple details can be entered at the same time. Now how to store the data entered by user to the object of my class..like c.setName() ..so that it can be easy to store in the database. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: display using DataListProvider
Thanks. But how to display the contents using FlexTable can you please elaborate. I have a List result as my query output. where Hardware contains function like getName(), setName().. etc. I'm new to GWT :) On Thursday, April 11, 2019 at 12:05:43 AM UTC+5:30, Hugo Haas wrote: > > Run out of this component... try FlexTable, your life will be wonderfull. > > > > Em qua, 10 de abr de 2019 15:26, Nanditha Nandu > escreveu: > >> Currently I'm Display the data in the following Format: >> >> >> Is there any way , where I will be able to display Data like: >> >> Component : ICS >> Material : value >> Serial : value >> Comments : value >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "GWT Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to google-web-toolkit+unsubscr...@googlegroups.com . >> To post to this group, send email to google-we...@googlegroups.com >> . >> Visit this group at https://groups.google.com/group/google-web-toolkit. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
How to get the SuggestBox value
final SuggestBox suggestionBox = new SuggestBox(suggestions); where suggestions is the custom suggest words passed using MultiWordSuggestOracle Im trying to get the value selected from the suggestions in the SuggestBox using below line: String text = suggestionBox.getTextBox().getValue(); But the value of text is " " Please help.Thanks. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
display using DataListProvider
Currently I'm Display the data in the following Format: Is there any way , where I will be able to display Data like: Component : ICS Material : value Serial : value Comments : value -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
DataListPrivider
How to display the following information using datlisProvider. Component1 Column1 value Column2 value Column3 value Component2 Column1 value Column2 value. . . -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: SuggestBox in a CellTable
How to call this custom SuggestBox.. In the cellTable with passing default suggestions. Please help. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.