Search Type: Posts; User: Ersmarker

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    16
    Views
    7,237
    We are aware of the issue with Chrome 19 which is causing 2px extra column width per column for both GXT 2 and 3. It is related to this bug http://code.google.com/p/chromium/issues/detail?id=124816....
  2. Replies
    2
    Views
    1,366
    Do you have a panel that contains a grid, and you want to a listen for when that panel is expanded/collapsed?
    Then you can listen for the Events.Collapse & Events.Expand on that panel.
  3. You can style each row with GridViewConfig.



    grid.getView().setViewConfig(new GridViewConfig() {
    public String getRowStyle(ModelData model, int rowIndex, ListStore<ModelData> ds) {
    ...
  4. You can create a custom LiveGridView with this function.


    class MyLiveGridView extends LiveGridView {
    public void scrollToRow(int row) {
    liveScroller.setScrollTop(getCalculatedRowHeight()...
  5. Replies
    2
    Views
    1,112
    You should use the iconprovider.



    tree.setIconProvider(new ModelIconProvider<ModelData>() {
    @Override
    public AbstractImagePrototype getIcon(ModelData model) {...
  6. Replies
    1
    Views
    1,045
    This is now fixed in SVN
  7. Replies
    4
    Views
    1,688
    Check if you have set
    panel.setResizeTabs(true);

    If you have, try setting it to false.
  8. Replies
    4
    Views
    1,688
    The TabItem text can be HTML, so you can create a span element with a custom width.



    TabItem t1 = new TabItem();
    t1.setText("<span style=\"width:150px\">&nbsp</span>");
    ...
  9. Try setting HideMode.OFFSETS on the TabItem containing the Grid.


    tab.setHideMode(HideMode.OFFSETS);
  10. Change
    quickTip.setToolTip(toolTipConfig);
    to
    quickTip.update(toolTipConfig)

    With setTooltip you are creating a new tooltip on your QuickTip component.
  11. int minValue = 3;
    NumberField nf = new NumberField();
    nf.setAllowBlank(false);
    nf.setMinValue(minValue);
    nf.setValue(minValue);
  12. You can listen to the ViewReady event and then start the editor


    grid.addListener(Events.ViewReady, new Listener<BaseEvent>() {
    @Override
    public void...
  13. Replies
    1
    Views
    1,019
    You can set a background picture using css.



    java:
    Viewport vp = new Viewport();
    vp.addStyleName("myBackground");

    css:
  14. Replies
    2
    Views
    997
    Move you code in onModuleLoad to a seperate method (start() in my example)
    In onModuleLoad create a window with a button that lunches your app.



    public void onModuleLoad() {
    final...
  15. Use Viewport. It will automatically fill the browser window and monitor browser window resize.
  16. You can set the alignment of a toolbar by:
    toolBar.setAlignment(HorizontalAlignment.RIGHT/LEFT);
  17. The ComboBox will display the value from difined by

    templateCombo.setDisplayField("name");
    I guess you don't have that property in your ModelData
    Try changing to:

    ...
  18. You can create a GridCellRenderer that returns value you want to display from you object.
  19. You can set style attribute float: right on the combobox



    SimpleComboBox cb = new SimpleComboBox();
    cb.setStyleAttribute("float", "right");
  20. Maybe I don't understand your second issue, but...
    don't set an editor in the columnmodel for the columns you don't want to edit.
  21. For the column using TreeGridCellRenderer you can override the getTemplate method of the TreeGridView and "insert" the tip.



    final RegExp regExp = RegExp.compile("<span unselectable=\"on\"...
  22. You can use QuickTip.
    You can see an examplein the BasicGrid example for the Change column:

    http://www.sencha.com/examples/pages/grid/grid.html
  23. The frame.addLoaderHandler was added in GWT 2.3
  24. Replies
    1
    Views
    923
    Take a look at the Basic Grid Example. It should contain all the information you need.
    http://www.sencha.com/examples/pages/grid/grid.html
  25. Hi.
    You can set a custom storeSorter with a custom Comparator to the store:


    store.setStoreSorter(new StoreSorter<ModelData>(new Comparator<Object>() {
    @Override
    ...
Results 1 to 25 of 118
Page 1 of 5 1 2 3 4