Hello,
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 :
I want the mouse pointer to become a Hand pointer when the mouse is over the addButton
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 :
Code:
ListGridField addButtonField = new ListGridField("instanciate"); ListGridField listField = new ListGridField("className", "Class Name"); addButtonField.setType(ListGridFieldType.ICON); addButtonField.setCellIcon("resources/images/instanciate_icon.png"); addButtonField.addRecordClickHandler(new RecordClickHandler() { @Override public void onRecordClick(RecordClickEvent event) { SC.say("you clicked me"); } }); listGrid.setFields(addButtonField, listField);
Comment