Search:

Type: Posts; User: Ersmarker

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    16
    Views
    9,634

    [FIXED] We are aware of the issue with Chrome 19 which is...

    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
    2,428

    Do you have a panel that contains a grid, and you...

    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. ...

    You can style each row with GridViewConfig.



    grid.getView().setViewConfig(new GridViewConfig() {
    public String getRowStyle(ModelData model, int rowIndex, ListStore<ModelData> ds) {
    ...
  4. Replies
    2
    Views
    1,299

    You can create a custom LiveGridView with this...

    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,549

    You should use the iconprovider. ...

    You should use the iconprovider.



    tree.setIconProvider(new ModelIconProvider<ModelData>() {
    @Override
    public AbstractImagePrototype getIcon(ModelData model) {...
  6. Replies
    1
    Views
    1,457

    This is now fixed in SVN

    This is now fixed in SVN
  7. Replies
    4
    Views
    3,008

    Check if you have set ...

    Check if you have set
    panel.setResizeTabs(true);

    If you have, try setting it to false.
  8. Replies
    4
    Views
    3,008

    The TabItem text can be HTML, so you can create a...

    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. Replies
    2
    Views
    985

    Try setting HideMode.OFFSETS on the TabItem...

    Try setting HideMode.OFFSETS on the TabItem containing the Grid.


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

    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...

    int minValue = 3;
    NumberField nf = new NumberField();
    nf.setAllowBlank(false);
    nf.setMinValue(minValue);
    nf.setValue(minValue);
  12. Replies
    2
    Views
    1,733

    You can listen to the ViewReady event and then...

    You can listen to the ViewReady event and then start the editor


    grid.addListener(Events.ViewReady, new Listener<BaseEvent>() {
    @Override
    public void...
  13. Thread: ViewPort

    by Ersmarker
    Replies
    1
    Views
    1,319

    You can set a background picture using css. ...

    You can set a background picture using css.



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

    css:
  14. Replies
    2
    Views
    1,370

    Move you code in onModuleLoad to a seperate...

    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...

    Use Viewport. It will automatically fill the browser window and monitor browser window resize.
  16. Replies
    1
    Views
    787

    You can set the alignment of a toolbar by:...

    You can set the alignment of a toolbar by:
    toolBar.setAlignment(HorizontalAlignment.RIGHT/LEFT);
  17. Replies
    1
    Views
    1,339

    The ComboBox will display the value from difined...

    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...

    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...

    You can set style attribute float: right on the combobox



    SimpleComboBox cb = new SimpleComboBox();
    cb.setStyleAttribute("float", "right");
  20. Replies
    7
    Views
    1,901

    Maybe I don't understand your second issue,...

    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. Replies
    7
    Views
    1,901

    For the column using TreeGridCellRenderer you can...

    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. Replies
    7
    Views
    1,901

    You can use QuickTip. You can see an examplein...

    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. Replies
    8
    Views
    3,810

    The frame.addLoaderHandler was added in GWT 2.3

    The frame.addLoaderHandler was added in GWT 2.3
  24. Replies
    1
    Views
    1,200

    Take a look at the Basic Grid Example. It should...

    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...

    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 209
Page 1 of 9 1 2 3 4