gxt

Get ListView selected item in gxt 2.0.1

Hi, I have a listview(gxt) with 2 columns, Name and Address. I've loaded the clients onto the listview(gxt), and now I want to select a client on the listview, and each time another listview box will display the Name & Address of the selected client. How can I do that? ...

GXT number field autocalculation

Hi! I have a form in GXT with three number fields: weight, height and BMI. What I want to do is to calculate BMI automatically after filling weight and height fields by the user. Any ideas how I can achieve that? ...

GXT Grid translate

i've tried to translate one of GXT widgets - Grid (exacly context menu in column header with sorting etc.) into Polish language but i cant find place to inject my translation. In some other widget (PagingToolBar) is method setMessages(...) but i cant find it in Grid So im asking you about place where i can set text that will be displaye...

[ExtGwt-Gxt] RowExpander With Dynamic Content

Hi All, I want to create a grid with a RowExpander. The problem I am facing is that each row has different information to be displayed in the expanded area. For example, each row represents a subject and the expanded area displays the grades related to this subject (exam1, exam2, etc.) as follows: +math exam1 Excellent exam2 ...

How to pop up Flex Panel by clicking on a GWT(or GXT) component?

I have a web-application whose UI is implemented in GXT (ext GWT). Now I want to switch to Flex but as the application is so large that I cannot afford to start migrating the whole application at once. So I have decided to migrate slowly. So what I want is to bring up a Flex panel on the click of a GXT's button. Basically the idea is ...

How to programmatically set the split position of BorderLayout in GXT?

I have a border layout set on a widget using Ext-GWT. Is there a way where I can set the 'split' position automatically? Reason being, if the user resizes a control on a page (not necessarily the parent of the one the split widget is in), I'd like to set the split value to a certain percentage value (like 30%). How can this be done? ...

How to let a GXT grid take up all available width?

I have a grid in GXT, something like this: List<ColumnConfig> configs = new ArrayList<ColumnConfig>(); ColumnConfig config = new ColumnConfig(); config.setId("type"); config.setHeader("Type"); config.setWidth(50); configs.add(config); config = new ColumnConfig(); config.setId("text"); config.setHeader...

Setting style(color) to button in gxt/sencha

Hye all I was trying the free version of sencha API with GWT in base and stumbled upon on the issue of setting color to a button. I tried modifying all the CSS get deployed in the war and tried setting styles also but no luck there. So kindly at least suggest a approach.Thanks in advance. regards la_89ondevg ...

Dynamically add widget to gxt/sencha widget

Hi everybodyI recently tried hands on gxt and bumped on problem of adding widgets to custom made widgets as they didn't show any changes for newly added widgets(which I thought in base is gwt and gxt will inherit this feature). I tried different methods mentioned in javadoc but didn't worked at all so I'm looking for some solution/appro...

How am i suppose to set a time as a default value in gxt?

I realized I have this with all combo box. I want it to have a default value so I did TimeField field = new TimeField(); field.setFormat(DateTimeFormat.getFormat("HH:mm")); field.setRawValue("10:00"); But when i open the section. the value does not get set. It is still blank. ...

Dynamically changing gxt/Sencha widgets

Hi everyobodyI was trying hands on Gxt/Sencha and bumped on this issue of adding widgets into HorizontalPanel etc to change widgets dynamically but not got it to worked as I assumed it is gwt in base may be applicable to it too. I tried repaint() and adding widgets at runtime also but had not luck there too. Kindly suggest some solution/...

How to set item renderer for ListView in ext-gwt?

I have a ListView in ext-gwt and I'm adding some custom data to it. How can I set an item renderer on the ListView? As of right now, whenever an item is added, there's just a small line representing each entry in the view. Here's my basic code: import com.extjs.gxt.ui.client.store.ListStore; import com.extjs.gxt.ui.client.widget.Lis...

[Ext-Gwt (Gxt) Grid] Setting Record Data resets ToggleButton

Hi All, I am facing a strange problem. I have created a normal ext-gwt grid with two columns. One column displays a number and the other renders a ToggleButton. As soon as the ToggleButton gets pressed a small window appears with: 1- a textfield (to enter a number), 2- an ok button. When the ok button is pressed the column containing th...

Dynamic Autosuggest Combobox in GXT

Hi, Over the past 5 months we have been prototyping GWT and setting up the infrastructure. WE are using GXT for the widgets with MVP and Command Pattern implementations. However, we are currently looking to do a spike on a ComboBox with autosuggest from a live Database. I would like to do this in the framework of the MVP and Command pat...