1. #1
    Sencha User castitas's Avatar
    Join Date
    Sep 2011
    Location
    US
    Posts
    116
    Vote Rating
    2
    castitas is on a distinguished road

      0  

    Default Defaults not applying with dynamic column model

    Defaults not applying with dynamic column model


    My grid:
    Code:
    {
        title: "Regular Time",
        xtype      : 'gridpanel',
        columns : this.makeCM(0),
        store      : 'myresource.EmpTime',
        columnLines: true,
        defaults : {align: 'right'},
        forceFit : true
    }
    Unfortunately, the defaults don't apply, though they are recognized (when I left the quotes off, it complained).

    Also, a specific column width set in makeCM doesn't apply, though menuDisabled: true does.

    Is this a rendering/timing problem or something else? Thanks in advance.
    word

  2. #2
    Sencha User castitas's Avatar
    Join Date
    Sep 2011
    Location
    US
    Posts
    116
    Vote Rating
    2
    castitas is on a distinguished road

      0  

    Default Follow Up

    Follow Up


    I still don't know why it was happening, but I stuck my alignment config in the column renderer.
    word

Tags for this Thread