Announcement

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

    Enabling Disabling ListGrid rows issue

    Be sure your post includes:

    1.SmartGWT 5.0
    2. Firefox 24.0

    This works only for the first time like example in the showcase.
    Calling a method triggered with a chekcbox to enable/disable dynamically.
    has no effect.

    Is this a bug or the right behavior?

    Code:
    	private void setListGridEenabled(ListGrid list, boolean enableDisable) {
    		for(ListGridRecord rec : list.getRecords()) {
    			rec.setEnabled(enableDisable);
    		}
    		if (enableDisable) {
    			list.enable();
    		} else {
    			list.disable();
    		}
    	}
    Thanks
Working...
X