diff --git a/src/main/java/com/flowingcode/vaadin/addons/easygrid/config/InstanceEasyGridConfiguration.java b/src/main/java/com/flowingcode/vaadin/addons/easygrid/config/InstanceEasyGridConfiguration.java index 53c673f..a1e81c2 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/easygrid/config/InstanceEasyGridConfiguration.java +++ b/src/main/java/com/flowingcode/vaadin/addons/easygrid/config/InstanceEasyGridConfiguration.java @@ -54,10 +54,15 @@ private ColumnConfiguration link(ColumnConfiguration config, Class * Returns the effective {@code ColumnConfiguration} for the given type, chaining configurations * across all levels of the tree. The resolution order, from most to least specific, is: *
    - *
  1. Type-level configuration registered on this instance via {@link #forType(Class)}.
  2. - *
  3. Type-level configuration registered on {@link GlobalEasyGridConfiguration}.
  4. + *
  5. The isolated column-level layer on top of the chain (the node that an {@code EasyColumn}'s + * own setters write into).
  6. + *
  7. Type-level configuration registered on this instance via {@link #forType(Class)}, walking + * the class hierarchy from {@code type} up to {@code Object}.
  8. + *
  9. Type-level configuration registered on {@link GlobalEasyGridConfiguration} (including the + * built-in defaults), walking the class hierarchy from {@code type} up to {@code Object}.
  10. *
- * Each level's non-{@code null} fields take precedence over the levels below it. + * The first non-{@code null} value found wins, scope-first: a more specific scope is fully + * consulted before falling through to the next. * * @param type the column value type * @return the resolved configuration, never {@code null}