Search:

Type: Posts; User: hellotech

Search: Search took 0.02 seconds.

  1. Popup menu to show at cursor similar to context menu

    Hi.
    I am performing a drag and drop to a tree view and want a menu popup right where I drop of, just like context menu. But I just cannot get the x,y position right.

    Below is my code.


    int x...
  2. Replies
    1
    Views
    278

    Popup menu to show at cursor

    Hi.
    I am performing a drag and drop to a tree view and want a menu popup right where I drop of, just like context menu. But I just cannot get the x,y position right.

    Below is my code.


    int x...
  3. Replies
    0
    Views
    74

    Tree set text when tree is empty

    Hi

    Is there a Tree equivalent of GridView's setEmptyText(..)? Otherwise, is there a way to set a text when the tree is empty?
  4. Unselect tree node when no node is being clicked

    Hi

    Is there a way to unselect a tree node when no node is being clicked?
  5. Show context menu when left click on a clickable cell

    Hi all

    Can I show the context menu of grid with a left click on a clickable cell?
  6. Thanks Andreas! That work perfect!

    Thanks Andreas! That work perfect!
  7. Checkbox returns true when unchecked (vice versa) on Chrome

    I am using a checkbox to enable/disable some widgets (e.g. textfield as shown in the example).
    The following code works in Firefox but not Chrome. In Chrome, the checkbox returns True when...
  8. Replies
    11
    Views
    6,802

    Hi Brandon, any update on this?

    Hi Brandon, any update on this?
  9. Replies
    11
    Views
    6,802

    I've tried with you suggestion. Now the behavior...

    I've tried with you suggestion. Now the behavior is as follow: (similarly with a 4-level tree)

    Issue #1
    1. Select a 2nd level node XYZ (this will programmatically expand this node, and highlight...
  10. Replies
    11
    Views
    6,802

    Apologies I missed out the reply. I tried it with...

    Apologies I missed out the reply. I tried it with your test case and it works. I realised the issue only happen when all the nodes in the the subtree of the selected/expanded node are "highlighted"...
  11. Replies
    11
    Views
    6,802

    3.0.6

    3.0.6
  12. Replies
    11
    Views
    6,802

    Child node unable to expand (Needs Info)

    Steps to reproduce:
    1. Create a three-level tree
    2. Expand first level node with mouse click
    3. Programmatically expand the first level node (that is already expanded)
    4. Try to expand any of the...
  13. Thanks Neilcoder, I managed to get it done by...

    Thanks Neilcoder, I managed to get it done by extending Tree and overriding renderChild(...)


    @Override
    protected SafeHtml renderChild(M parent, M child, int depth, TreeViewRenderMode...
  14. I tried overriding render(..) for my cell and...

    I tried overriding render(..) for my cell and setCell(..) to my tree

    SafeHtml c = SafeHtmlUtils.fromString("<span " + "style='background-color:#46fff0'>" + a.getName() + "</span>");
    sb.append(c);...
  15. Changing background colour of some tree nodes

    How do I change the background colour of certain tree nodes as if it is being selected/highlighted?
    I'm using gxt 3.x
  16. Currently I can only use either TreeStyle to...

    Currently I can only use either TreeStyle to display the nodes icons with either open/close or use IconProvider to display them with my different node types. So you are saying if I want to combine...
  17. How can we achieve that? Which class/method...

    How can we achieve that? Which class/method should I be looking at?
  18. How to let Button in Grid don't select row when clicked

    Hi

    The buttons in the Grid on each row executes onSelect(SelectEvent event) when clicked.
    Each row also has a RowClickHandler which executes onRowClick(RowClickEvent event) when selected.
    But a...
Results 1 to 18 of 20