gxt

how to add css to selected row in treegrid GXT 3

戏子无情 提交于 2019-12-18 08:59:12
问题 I created a treegrid using GXT 3.now iwant to change background color of selected row and also i want to change the background of root node(leaf row i.e Parent row). iam using GXT 3.0 and eclipse 3.7 Thanks in advance 回答1: I was also having the same problem, I wanted to color the background of a row depending on some condition. In the end, I found a solution: You need to create a GridViewConfig and override the getColumnStyle method to return the color want, it took me a while to find out,

GXT 3 mobile support

心已入冬 提交于 2019-12-18 07:24:21
问题 Support GXT 3 responsitive design out of the box or is there another way to get a good mobile application with GXT running. I know about Sencha Touch but I don't want to develop two standalone apps.. Regards, Markus 回答1: 2015-01-22 update without mentioning a date, but looks promising: sencha.com: Taking a Look at Sencha GXT and GWT it seems in summer 2014 (around now :-)) we should get this natively with GXT 4.0 from Sencha: http://www.sencha.com/blog/gxt-roadmap-update/ full tablet support

Click Handlers for Trees in GXT 3?

萝らか妹 提交于 2019-12-14 01:30:15
问题 I've been looking through GXT3's Tree API for some way to execute an action when I click or double click on a node in a tree, and I can't seem to find anything that would work. I know TreeGrid has a CellClickHandler and CellDoubleClick handler, but there doesn't seem to be anything similar for Tree . There's the generic addHandler method inherited from Widget but this seems like it would apply to the whole tree, not a specific node. Is there something I'm overlooking, or a different / better

GXT 3 - ColumnConfig.setCell() not working for CompositeCell

僤鯓⒐⒋嵵緔 提交于 2019-12-13 05:34:18
问题 I am trying to create a column with multiple images in a single grid cell. The following is the column config private ColumnConfig<SensorTreeModel,ImageResource> actionsCol; actionsCol = new ColumnConfig<SensorTreeModel,ImageResource>(new ValueProvider<SensorTreeModel, ImageResource>() { com.sencha.project.client.Resources resources = GWT.create(com.sencha.project.client.Resources.class); @Override public ImageResource getValue(SensorTreeModel object) { ImageResource add = com.sencha.project

Unable to load module entry point in GWT/GXT Project

独自空忆成欢 提交于 2019-12-13 05:14:06
问题 I am working on GWT/GXT I trying to create radar Chart Here is the Code public class Test implements EntryPoint { public static boolean isExplorer() { String test = Window.Location.getPath(); if (test.indexOf("pages") != -1) { return false; } return true; } @Override public void onModuleLoad() { RootPanel.get().add(new ChartExmaple()); } } public class ChartExmaple extends LayoutContainer { private ChartModelExample example = new RadarChart(); private Command updateCmd; @Override protected

Integration of JSF and Ext GWT

£可爱£侵袭症+ 提交于 2019-12-13 04:41:31
问题 I am enhancing an existing JSF app. There I need to add ExtGWT component to the existing JSF based GUI. Is it possible to integrate JSF and Ext GWT? If not do I have any alternatives? 回答1: It should be possible ExtJS GWT with JSF?(haven't tried myself..) INMO if you want to enrich you current JSF application you better look at JSF Component library's like PrimeFaces <- this is example of their table... also there is this project Integrating the Google Web Toolkit with JSF using G4jsf , not

Access values on widgets and send to server

北城余情 提交于 2019-12-13 04:08:47
问题 I have an interface created from GXT 2.2.5 library, now I need to get user entered values from TextField and send it to server. How can i get this user entered values from textfield? Here the sample code: package kz.bimash.client; import com.extjs.gxt.ui.client.widget.LayoutContainer; import com.extjs.gxt.ui.client.widget.LayoutContainer; import com.extjs.gxt.ui.client.widget.Slider; import com.extjs.gxt.ui.client.widget.VerticalPanel; import com.extjs.gxt.ui.client.widget.button.Button;

GWT/GXT tag editor?

若如初见. 提交于 2019-12-12 10:10:28
问题 I'm looking for a GWT (or GXT) based tag editor control similar to http://tagedit.webwork-albrecht.de or http://levycarneiro.com/projects/tag-it/example.html or even the StackOverflow tag editor (on the edit page). I couldn't find anything searching for such terms in Google, I was wondering if anyone had ever come across one, perhaps known by a different description or name. Thanks in advance! 回答1: I did something similar to that just not for tags but for recipients for messages just like

Difference between gwt-ext and ext-gwt

和自甴很熟 提交于 2019-12-12 07:49:57
问题 Am I taking crazy pills, or are these two things pretty much identical? 回答1: Having spent significant time with both frameworks at this point I would say that they are not "pretty much identical". While they may both use the same graphical assets, the way that they go about getting there is very different and depending on your needs/development style you may find one preferable to the other. GWT-EXT encapsulates Ext-JS by wrapping the Ext-JS framework which can lead to frustration when

Why my grid does not move on second page with paging toolbar(GWT 2.4)?

本秂侑毒 提交于 2019-12-12 05:03:21
问题 I am developing a GWT app where I am using paging toolbar. When I have more than 10 groups in grid, user can go to second page with paging toolbar. But when I press button to go to the second page, it goes to that second, loading is shown but then toolbar is back to the first page with those first. 10 items. This is first page: And when I press button for second page I get this loading: But then after that toolbar backs me to the first page. This is my class for paging toolbar: public class