No announcement yet.
  • Filter
  • Time
Clear All
new posts

  • JohnSmith
    Thank you for your reply.
    The first link you have provided can indeed be considered a solution.
    The second link you have provided has been removed apparently. I just have one question, ListGrid has a property called setCursor() but why doesn't ListGridField has it too? This would be the best solution for the problem if we could simply do the following:
     ListGridField addButtonField = new ListGridField("instanciate");

    Leave a comment:

  • shortpasta
    I tried a long time ago and would like to know myself.

    I did not see anything obvious to me in the javadoc:

    However, you could try:
    1. Grid Cell Widgets
    You accomplish this by overriding ListGrid.createRecordComponent ()
    The sample has buttons which seems to be exactly what you are looking for:
    BTW, if the contents of your ListGrid can change in the "background", you might also have to override ListGrid.updateRecordComponent ().

    2. Rollover controls
    Similar to #1

    Leave a comment:

  • JohnSmith
    No one has an idea?

    Leave a comment:

  • JohnSmith
    started a topic Change mouse pointer in ListGrid

    Change mouse pointer in ListGrid


    I have a listGrid composed of 2 columns, the first is of type ListGridFieldType.ICON and the second one is a normal string. I would like to change the mouse pointer to the "hand" pointer when the mouse is hovering over the button column in the listGrid. How is this done?

    My code for the listGrid is :
    ListGridField addButtonField = new ListGridField("instanciate");
    ListGridField listField = new ListGridField("className", "Class Name");
    addButtonField.addRecordClickHandler(new RecordClickHandler() {
      public void onRecordClick(RecordClickEvent event) {
        SC.say("you clicked me");
    listGrid.setFields(addButtonField, listField);
    I want the mouse pointer to become a Hand pointer when the mouse is over the addButton