Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Enabling Disabling ListGrid rows issue

$
0
0
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

Viewing all articles
Browse latest Browse all 4756

Trending Articles