Package com.smartgwt.client.widgets.form.fields

# Interface ShouldDisableCanvasCustomizer

public interface ShouldDisableCanvasCustomizer

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `shouldDisableCanvas()`
  Called to determine whether the `canvas` should be `disabled` when the `CanvasItem` is disabled or its `editability changes`.

- ## Method Details

  - ### shouldDisableCanvas

    boolean shouldDisableCanvas()
    Called to determine whether the `canvas` should be `disabled` when the `CanvasItem` is disabled or its `editability changes`. By default, if the `canvas` is a `DynamicForm`, then it is disabled if and only if the `CanvasItem` is disabled; otherwise, the `canvas` is disabled if and only if the `CanvasItem` is disabled or `read-only`.
    Returns:
      `true` if the `canvas` should be disabled; `false` otherwise.