Announcement

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

    changing ListGridField title

    Hi,

    I am trying to change the title of a ListGridField from an event handler, after the grid has been populated and rendered. The title doesn't change in the page. Code:

    Code:
            viewRadioGroup.addChangedHandler(new ChangedHandler() {
    			
    			public void onChanged(ChangedEvent event) {
    				
    		        locationField.setTitle(viewRadioGroup.getValueAsString());
    // refresh listgrid
    			}
    		});
    The ListGrid is databound. Does that make a difference? What should I be doing?

    The SmartGWT version is the latest (I think), and GWT is 2.2, Firefox 3.6.

    Thanks

    #2
    Never mind, I found the answer at: http://www.java2s.com/Code/Java/GWT/UpdatecolumntitleSmartGWT.htm

    Thanks

    Comment

    Working...
    X