chpasha wrote
> 
> Hi all, I'm migrating to 5.3 from 5.2 and experience a problem showing
> column label for not sortable columns. Here is my BeanModel Code
> 
> private BeanModel createAndConfigureGridModel() {
>         BeanModel model =
> beanModelSource.createDisplayModel(Evaluation.class, messages);
> 
>         model.add("model", null).sortable(true);
>         model.add("submitter", null).sortable(true);
>         model.add("editAction", null).label("");
>         model.get("submitterComment").sortable(false);
>         model.get("evaluatorComment").sortable(false);
> 
>         
>         model.reorder("model", "dealerPrice", "submitter",
> "submitterComment");
> 
>         return model;
>     }
> 
> all sortable(false) columns have no column label when rendered. if i
> remove sortable(false) - everything works like expected. Is it some known
> breaking change?
> 

I just tried that - there are labels for all columns except "editAction" -
where label "" was specified.

Here's my grid
        <t:grid source="list" model="model">
                <p:modelColumn></p:modelColumn>
                <p:submitterColumn></p:submitterColumn>
                <p:editActionColumn></p:editActionColumn>
        </t:grid>

And i created a Evaluation class:
public class Evaluation
{
    public String submitterComment;
    public String evaluatorComment;
    public Long dealerPrice;
}

--
Chris

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/grid-label-for-not-sortable-column-tp5041541p5044420.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to