Phate
Phate

Reputation: 6612

Is it possible to put a label into an actionColumn?

Currently it seems I can just add buttons. Anyway I'd like to achieve something like this:

a label |button|

would it be possible?

Upvotes: 0

Views: 129

Answers (1)

mstfdz
mstfdz

Reputation: 2796

Best way to do this is using a container.

here is the example :

var container = {
xtype  : 'container',
layout : 'hbox',
style  : 'margin-bottom: 5px;',
items  : [
   {
      xtype: 'label',
     text: 'a Label',
    },
    {
        xtype : 'container',
        width : 85,
        items : {
            xtype : "button",
            text  : "button",
            width : 70              
        }
    }       
]};

hope this work.

Upvotes: 1

Related Questions